Answer to Question #38937 in C++ for Thant Zaw Oo
a) Write a program to find and display the sum of the successive integers 1,2,...100 (Use while loop). (b) Write a program to find the sum of the following series (Use while loop): 7,11,15,19,23,27,31,35,39,43 (c) Write a program to find the number of integers of the sum of the following integer series 1,3,5,7 ... The total of series is 400. (Use while and break) (d) Write a program to find sum, product and average of the integer numbers. If the integer number is 0, you terminate the data entry. The average is displayed with 2 decimal format (Use while loop).
No comments. Be first!