1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
12345 [234]
2 years ago
8

14. Write a program that accepts or rejects applicants for admission at Fictional University. To qualify, an applicant must be a

t 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.​
Computers and Technology
1 answer:
Gala2k [10]2 years ago
7 0

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 :brainly.com/question/24672775

You might be interested in
Write a report on the effectiveness of using thicker bags. Remember to include the effect on the environment and the economy in
malfutka [58]

The effectiveness of using thicker bags are:

  • It has the lowest environmental impact in terms of any other disposable bag.
  • It can be used three to six more times.
  • It is environmentally sustainable.

<h3>What is the effect of thicker plastic bags have on the environment?</h3>

The use of plastic bags is known to have some form of detrimental effects on the such as animal choking, pollution, and others.

Conclusively, Note that thicker bags needs a lot of plastic to be able to produce it and it goes to waste even if a person do not use it again.

Learn more about environment from

brainly.com/question/17413226

4 0
2 years ago
What is one important feature of an AUP?
rusak2 [61]

Answer:

A clear outline of the consequences of violating the policy  is the correct answer to this question.

Explanation:

AUPs are used by schools and universities, corporations, businesses, internet and hosting service providers, and website owners. An acceptable use of policy in AUP helps in many ways:

  • Online platforms and applications require users to sign the policy before granting access to any information database, online shop, or other networks.
  • An acceptable use policy helps in reducing risk when it comes to online safety, decreased productivity, and damage to both the company and the users.
  • One of the main reasons why an acceptable use policy is important is to ensure the safety of users.
  • Use of policy is also known as fair use policy.It is set of rules applied by the owner of the network or website.
8 0
3 years ago
Assume a program requires the execution of 50 x 106 (50e6) FP instructions, 110 x 106 (110e6) INT instructions, 80 x 106 (80e6)
tresset_1 [31]

Answer:I really don’t know

Explanation:

Um You can look it up though

7 0
3 years ago
Which of the following file formats allows you to share and save documents
mariarad [96]
OPTION A would be the answer
7 0
2 years ago
Which port security violation mode does not generate messages or increment the violations counter?
Zanzabum

The number of violations is increased. When a secure port is in the error-disabled condition, the shutdown and restrict command can be used to restore it.

<h3>What is  offence?</h3>

A deviation from a code of conduct or law is referred to as a violation. When driving a car, going over the posted speed limit is a regular legal violation. Invading someone else's privacy could include reading their journal. failure to uphold a duty or right; breaching the law.

The two types of violations are states and acts. A transgression is a violation of the rules that is less serious than a foul and frequently involves technicalities of the game. A disrespectful or vulgar act: profanation.

Hence, The number of violations is increased. When a secure port is in the error-disabled condition, the shutdown and restrict command can be used to restore it.

To learn more about violation, refer to:

brainly.com/question/1274113

#SPJ4

4 0
2 years ago
Other questions:
  • How technology bacome the mode of revealing​
    10·1 answer
  • Which is a feature of a strong thesis statement?
    8·1 answer
  • How are computers used in producing weather forecasts?
    8·1 answer
  • I have this assignment due TONIGHT BEFORE 10PM! Please help. 50 points for whoever will help!! Here is the assignment.
    7·1 answer
  • Consider a swapping system in which memory consists of the following hole sizes in memory order: 10 MB, 4 MB, 20 MB, 18 MB, 7 MB
    9·1 answer
  • Modify the CountByFives application so that the user enters the value to count by. Start each new line after 10 values have been
    7·1 answer
  • Need the answer ASAP!!!!!!!!!!!!! I’ll mark brainliest if correct
    8·1 answer
  • Please help me on this I don't know which one they are​
    6·2 answers
  • Help me asap ill give brainliest
    8·1 answer
  • An administrator has been asked to update a flow that was created as part of a recent update. When the administrator opens the f
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!