14. Write a program that accepts or rejects applicants for admission at Fictional University. To qualify, an applicant must be at least 16 years old and have a Grade 12 average of 60 (%) or above. Additionally, the applicant must either have obtained 65 %) or above on Physical Sciences or obtained 50 (%) or above on Computer Application Technology. Accept all relevant information from a user, and display a congratulatory message if the applicant is accepted or sympathy message if the applicant is rejected.​

Respuesta :

fichoh

The required program for applicant selection written in python 3 is :

age = int(input())

grade12_avg = int(input())

ps = int(input())

cs = int(input())

def status(age, grade12_avg, ps, cs):

msg = 'sorry you are not admitted'

if (age >=16) and (grade_avg >=60):

if (ps>=65) or (cs>=50):

message = 'congratulations'

print(message)

else :

print(message)

else:

print(message)

Run through of the codeblock :

age = int(input())

grade12_avg = int(input())

ps = int(input())

cs = int(input())

# input values provided by users

.

def status(age, grade12_avg, ps, cs):

#Define a function named status

msg = 'sorry you are not admitted'

# display message for recepients

if (age >=16) and (grade_avg >=60):

#First condition ; the and keyword means both must be True

if (ps>=65) or (cs>=50):

2nd condition, or statement means only one or both can be true

message = 'congratulations'

#content of message if both conditions are met

print(message)

#Display newly defined content of message

else :

print(message)

#Display initial content of message

else:

print(message)

#Display initial content of message.

Learn more :https://brainly.com/question/24672775