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
babunello [35]
3 years ago
15

Write a program named Admission for a college’s admissions office. The user enters a numeric high school grade point average (fo

r example, 3.2) and an admission test score. Display the message Accept if the student meets either of the following requirements: A grade point average of 3.0 or higher, and an admission test score of at least 60 A grade point average of less than 3.0, and an admission test score of at least 80 If the student does not meet either of the qualification criteria, display Reject.
Computers and Technology
1 answer:
Gennadij [26K]3 years ago
4 0

Answer:

C++ Example

Explanation:

Code

#include<iostream> //for input and output  

#include<string>

using namespace std;  

int main()  

{  

  float gpa;

  int testScore;

  cout<<"Enter GPA:";

  cin>>gpa;

  cout<<"Enter Test Score: ";

  cin>>testScore;

  if((gpa>=3.2 && testScore>=60) || (gpa>=3.0 && testScore>=80)){

   cout<<"Accept";

  }

  else{

    cout<<"Reject";

  }

}  

Code Explanation

First we need to define a float GPA variable and integer test score variable.

Then prompt user to enter both value.

Once user enter the values then we added if statement to check both accepting criteria. If criteria matches then show Accept otherwise else part will execute and show Reject.

Output

Case 1:

Enter GPA:3.0

Enter Test Score: 80

Accept

Case 2:

Enter GPA:3.2

Enter Test Score: 60

Accept

Case 3:

Enter GPA:3.2

Enter Test Score: 59

Reject

You might be interested in
What are the importance of computer in today's generation​
MariettaO [177]

Answer:

We use it everyday for all sorts of stuff

Explanation:

8 0
3 years ago
One of the best ways to shoot a picture is to frame the subject in the middle of the screen or viewer. T or F
Ronch [10]
Your answer is T for True
3 0
3 years ago
Read 2 more answers
Is Flip book drawings, frame by frame (need great drawing skills).
lyudmila [28]
I would say traditional animation
7 0
3 years ago
Which data type is 2.5?<br> single<br> int<br> float<br> string
Ivenika [448]

2.5 is an example of a float.

Floats are numbers that have decimals.

5 0
3 years ago
Which branch of science helps avoid or minimize stress-related injuries at workplace? ______is a branch of science that aims to
Elanso [62]
<span>The reduction of workplace-related repetitive stress injuries is a field of scientific focus which gained prominence in the past few decades in order to increase worker productivity and reduce downtime and job-related injury claims. This particular branch of science is known as "ergonomics".</span>
4 0
4 years ago
Other questions:
  • To open the format cells dialog box with the alignment sheet active, tap or click the alignment settings ____.
    8·1 answer
  • the ____ presents information about the document, the progress of current tasks, and the status of certain commands and keys.​
    14·1 answer
  • Apollo Couriers, a company providing international express mail services, has a proactive customer communications team. The prim
    8·1 answer
  • When would it be easier to use Cut and Paste over Drag and Drop? Explain?
    6·1 answer
  • Compound conditions require a computer to sense whether multiple conditions are true or false.
    9·1 answer
  • Anyone want to talk? it can honestly be about any subject :)
    5·1 answer
  • Function of pons for class 7​
    15·1 answer
  • Is the<br>transmission and reception<br>of data between locations?​
    10·1 answer
  • If known vulnerabilities in software are entry points for an attacker, why are the software vulnerabilities not corrected before
    12·1 answer
  • How to delete brackets in string java.
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!