Question: SCAN Lab Sheet - - week 5 and 6 Repetition Control Structures - II EXERCISES 1 - Write a C + + program that prints

SCAN
Lab Sheet -- week 5 and 6
Repetition Control Structures-II
EXERCISES
1- Write a C++ program that prints all the numbers
from 1 to 10
from 10 to 1
then calculates their total
-Using while loop
Using for loop
2- Write a C++ program that prints the following line of asterisks ********************
Using while loop
Using for loop
Using for loop
3- Write a CH+ program that reads the marks of any number of students and finds average.
4- Write a CH program that reads the marks of N students. The program should displa
Whether each student "PASS" or "FAIL".
The number of passed students and the number of failed students.
The average
The minimum mark
The maximum mark
5- Write a C++ the program that finds the sum of:
All even numbers between 1 and 100
All odd numbers between 1 and 100
6- Write a C++ program that asks the user to enter a number and check whether it or not.
7- Write a C++ program that allows the user to enter two numbers and finds numbers in between.
16
 SCAN Lab Sheet -- week 5 and 6 Repetition Control Structures-II

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!