Answered step by step
Verified Expert Solution
Question
1 Approved Answer
c++ Question 3 (9+ 5 marks ) (A) Write a function called Admission that accepts three parameters: School Score SS (double), Written Test Score TS
c++
Question 3 (9+ 5 marks ) (A) Write a function called Admission that accepts three parameters: School Score SS (double), Written Test Score TS (double) and Interview Score IS (double). The function will calculate total score as follows: total score = School Score + Written Test Score + Interview Score Then the function will return admitted college (string) as follows: total Score admitted college 290 Engineering 80 to 89 IT = 90) return "Engineering"; else if (total >= 80) return "IT"; else return "Others"; }Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started