Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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

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

Automating Access Databases With Macros

Authors: Fish Davis

1st Edition

1797816349, 978-1797816340

More Books

Students also viewed these Databases questions

Question

10. Why do questions matter?

Answered: 1 week ago

Question

Understand the roles of signs, symbols, and artifacts.

Answered: 1 week ago

Question

Discuss the key ambient conditions and their effects on customers.

Answered: 1 week ago

Question

Be familiar with the integrative servicescape model.

Answered: 1 week ago