Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

PLEASE ANSWER THE QUESTION AS SOON AS POSSIBLE... I NEED EXACT C++ CODE.. WITH THE FOLLOWING OUTPUTS.. PLEASE ATTACH SCREENSHOT OF OUTPUT... Write a C++

image text in transcribed

PLEASE ANSWER THE QUESTION AS SOON AS POSSIBLE...

I NEED EXACT C++ CODE..

WITH THE FOLLOWING OUTPUTS..

PLEASE ATTACH SCREENSHOT OF OUTPUT...

Write a C++ program for the following student result processing system: a. Class 'Student' i. Data members of class 'Student': - roll number, - std_name, - subject1_mark, - subject2_mark, - subject3_mark ii. Define a suitable member function for class 'Student' with following requirements. To read roll number, name, subject1_mark, subject2_mark, subject3_mark of students from users. Validation of marks: - Minimum marks for subject1_mark, subject2_mark, subject3_mark is 'Zero'. - Maximum marks for subject1_mark, subject2_mark, subject3_mark is ' 100 '. - If any subject mark goes out of 0-100 range, then your program should catch this and should inform the user to give the correct value. b. Class 'Result' i. Specify a class 'Result' with the following data members. - total - average_marks - result c. Apply the concept 'array of objects' to handle the details of 10 students. d. - Apply the concept of 'friend class', so that the class 'Result' can access the private data members of class 'Student' to compute total, average_marks and result. Conditions for deciding results: - result = pass (if all three subject marks are >=50 ); - result = fail (if any one subject mark is =250. Option 2: To print the complete details of all students, whose result='pass'. Option 3: To print the complete details of all students, whose result='fail

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

Knowledge Discovery In Databases

Authors: Gregory Piatetsky-Shapiro, William Frawley

1st Edition

0262660709, 978-0262660709

More Books

Students also viewed these Databases questions

Question

2. List the advantages of listening well

Answered: 1 week ago