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
hammer [34]
3 years ago
9

The variable grade can have any real number value from 0 to 100. Ask the user to enter a grade in numerical form. Write an if-el

seif-else statement that displays the letter grade (any format) corresponding to a numerical grade in an appropriately formatted output statement. Use the standard 10-point grading scale:  a: A: 90 ≤ grade  a: B: 80 ≤ grade < 90  a: C: 70 ≤ grade < 80  a: D: 60 ≤ grade < 70  a: F: grade < 60
Computers and Technology
1 answer:
Alborosie3 years ago
8 0

Answer:

See explaination

Explanation:

#include <iostream>

using namespace std;

int main()

{

float marks;

cout<<"Enter your grade value :";

cin>>marks;

if(marks>=90)

cout<<"Your grade is 'A'";

else if(marks>=80&& marks<90)

cout<<"Your grade is 'B'";

else if(marks>=70&& marks <=80)

cout<<"Your grade is 'C'";

else if(marks>=60&& marks <70)

cout<<"Your grade is 'D'";

else

cout<<"Your grade is 'F'";

}

You might be interested in
The ability of a person booking a flight on Southwest's website to reserve a car from Dollar Rent-A-Car without having to leave
katen-ka-za [31]

Answer:

Web Services

Explanation:

<em>Web Services</em>  is a technology that uses a set of protocols and protocols that serve to exchange data between applications. Different software applications developed in different programming languages, and executed on any platform, can use web services to exchange data on computer networks such as the Internet. Interoperability is achieved through the adoption of open openings.

5 0
4 years ago
Write a C program to perform simple C arithmetic calculations. The user is to enter a simple expression (integer operator intege
Ilya [14]

Answer:

Input example:

select the funcion: 1                                                                                                                  

write the 1sd number2                                                                                                                  

write the 2nd number1                                                                                                                  

value is 2.000000                                                                                                                      

Explanation:

#include <stdio.h>

main()

{

//define the variables as float

float a, b, c, e;

char d;

while (1)  

{      

//input values

printf("select the function: ");

scanf("%c",&d);

printf("write the 1sd number");

scanf("%f",&a);

getchar();

printf("write the 2nd number");

scanf("%f",&b);

getchar();

if (d=='%')

{

    a=a*b/100;

}

if (d=='*')

{

    a=a*b;

}

if (d=='+')

{

    a=a+b;

}

if (d=='/')

{

    a=a/b;

}

if (d=='-')

{

    a=a-b;

}

printf("value is %f \n",a);

}

printf("final value is %f",a);

getchar();

}

8 0
4 years ago
Proxy data:
lapo4ka [179]

Answer: provide climate data representing times when instruments were not available to measure them.

Explanation:

Proxy data provides climate data representing times when instruments were not available to measure them.

6 0
4 years ago
I figured out the secret message in Dad feels good, I can connect the dots
kati45 [8]

Answer:

Nope you figured it out

Explanation:

3 0
3 years ago
Instrument Air system that employ a standby header shall be permitted to have a simplex cooler and dryer. Where a standby header
Vinil7 [7]

The standby header is provide a check valve shall be installed to prevent backflow.

<h3>What is instrument air?</h3>

The phrase “Instrument Air” is a term that connote  a thoroughly clean supply of compressed air that is said to be very free from any kind of contaminations such as particles.

Note that a system often utilize instrument air for different kinds of pneumatic tools, also that of valves and electrical controls.

See full question below

Instrument Air system that employ a standby header shall be permitted to have a simplex cooler and dryer. Where a standby header is provided, a ___________ shall be installed to prevent backflow.

answer choices

one way valve

two way check valve

check valve

Isolation valve

Learn more about Instrument from

brainly.com/question/26219918

7 0
2 years ago
Other questions:
  • According to the partnership for 21st-century learning critical thinking ability includes all the following skills except
    15·1 answer
  • Practice problems on functions. Write C function(s) to carry out the specified tasks. For each problem, also write the suggested
    15·1 answer
  • If you have a database of books in the library and you would like to find all books published after January 1, 2008, what criter
    7·1 answer
  • How are gems and precious metals similar?
    6·2 answers
  • You've run 200 ft of cable and lost 7dB. What is the loss rate of your cable per 100 ft?
    14·1 answer
  • What is Identity Theft?
    8·1 answer
  • List three types of Software:
    15·1 answer
  • According to institutional anomie theory, why is there a need to maintain cooperation between economic and non-economic institut
    9·1 answer
  • A __________ is a sequence of characters.
    10·1 answer
  • Which would be considered a peripheral device?
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!