Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

How Do I Use A Database Research Tools You Can Use

Authors: Laura La Bella

1st Edition

1622753763, 978-1622753765

More Books

Students also viewed these Databases questions

Question

Describe the new structures for the HRM function. page 676

Answered: 1 week ago