Exercises_data Structure and Algorithm Fundamentals (1) (1)
Exercises_data Structure and Algorithm Fundamentals (1) (1)
Camille 1
24. Write an algorithm/Pseudocode that calculates the sum of Odd integers from
1 to an integer N entered by the user. Example N=8 Sum = 1 +3+5+7= 16
25. Write an algorithm/Pseudocode that displays a triangle of integers, according
to an integer entered by the user. Example N=4
22
333
4444