Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I want to solve the last three questions 3, 4 and 5 3. To accept 3 details of a student - Reg.No, GPA, IELTS score.

image text in transcribed
image text in transcribedI want to solve the last three questions 3, 4 and 5
3. To accept 3 details of a student - Reg.No, GPA, IELTS score. Based on the following conditions, print whether the student gets sponsorship for higher studies. GPA IELTS Sponsorship Higher than or equal to 4 Higher than or equal to 6 Yes Less than 4 Less than 6 No 4. Find the smallest among 3 numbers. 5. Check whether 2 numbers are equal. If they are equal, find the square of the number. Otherwise, find the cube of the number. 1. Read the marks of 3 students for 3 courses. Calculate the average marks for both the students. Check the average with the below table and calculate the CGPA according to the formula (CGPA = (Average * Grade point)/3]. Display the CGPA of both the students. Averag Grade point e 8-10 3.5 6-7.9 3 4.5-5.9 2.5 2 2. To find the visa processing fee for tourists according to the following calculation: Read the number of days, type of visa and age of tourist. Ag No.of days Visa type Fee calculation >40 10 Tourist No.of days * 1.5 omr >40 30 Visit No.of days * 2 omr

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

More Books

Students also viewed these Databases questions