1. Use a Loop to write a program that reads and calculates the sum of an unspecified number of integers. The input 0 sig

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

1. Use a Loop to write a program that reads and calculates the sum of an unspecified number of integers. The input 0 sig

Post by answerhappygod »

1. Use a Loop to write a program that reads and calculates the sum of anunspecified number of integers. The input 0 signifies the end of the input.
Sample output:Enter the integers - 5 2 5 8 4 7 6 7 8 4 5 0Sum of the serious is - 61
2. **Find the lowest score**Write a program that prompts the user to enter the number of students and eachstudent’s name and score, and finally display the name of the student who gotlowest mark (mark should be between 0-100)
3. Write a counter-controlled loop to display odd and even numbers upto 20 usingcontinue keyword of the following sequences:Odd Numbers: 1 3 5 7 9 11 13 15 17 19Even Numbers: 2 4 6 8 10 12 14 16 18 20
Hint:
Use Random funtions, loops and if-else statements.
Submission Requirement:
Please you need to submit your work in word format, and each question should provide the below requirements:
FlowChart
The code
The results in screenshots
Rubric
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply