Question: FIRST ASSIGNMENT: Include the use of ++, += in a program that achieves the following using loops. (You can do these in one program or

FIRST ASSIGNMENT: Include the use of ++, += in a program that achieves the following using loops. (You can do these in one program or each one in a small program, it doesnt matter.) (20 points each) A. Create a loop that will output all the multiples of 5 that are greater than zero and less than 60 (do not include 60). 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55 B. Create a loop that will output all the numbers less than 200 that are evenly divisible by both 2 and 7. 14 28 C. Create a loop that will calculate the sum of the multiples of 8 that are between 100 and 500. Output the sum only. D. Create a loop that will output the sum of all odd numbers between 20 and 100.

SECOND ASSIGNMENT: You are to write a program that will allow a user to enter infinite numbers (one number at a time and all numbers are greater than zero).You must have a way for the user to stop entering values. Once the user stops, you will immediately display the following: The lowest number was: The highest number was: The number of values entered was: The average of the numbers was:

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!