Write a program that uses while statement to calculate


Write a program to sum the odd integers between 1 and 99 using a for statement.

Write a program to print numbers 1 to 50 using a for loop.

Write a program that uses while statement to calculate average of several integers. Assuming the last value read is the sentinel 9999. For example, the sequence 10 8 11 7 9 9999 indicates that the program should calculate the average of all the values preceding 9999.

 

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: Write a program that uses while statement to calculate
Reference No:- TGS0645724

Expected delivery within 24 Hours