Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Note: Write a c++ Program use only loop if/else condtion.. no array and not advanced funtion used.. Task 7 Write a program, which takes marks

Note: Write a c++ Program use only loop if/else condtion.. no array and not advanced funtion used..

image text in transcribed

image text in transcribed

Task 7 Write a program, which takes marks of 5 courses as input, of 5 students and output the students who got the highest aggregate. First you will get the ID (integer) of the student and after that data for the five courses. Sample Input: 1391 80 70 60 14 88 1376 70 80 80 88 89 1374 71 82 50 80 79 1372 77 90 90 99 100 1375 73 83 40 81 69 Sample Output: 1372 has highest Aggregate of 456 [Your program should not compare every number in condition for this problem solution, need some creative solution] Input Validation: Check that every entered number should be in range and every entered choice should be according to the given condition, otherwise show some appropriate message) Sample Output Enter number: 5 You have entered "Five" Do you want to ask more (y) : y Enter number: 24 You have entered Twenty Four Do you want to ask more (y): Y Enter number: 100 You have entered "One Hundred" Do you want to ask more (y): n You have helped your friend for 3 numbers

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_2

Step: 3

blur-text-image_3

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

More Books

Students also viewed these Databases questions