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
11. In Microsoft Word, when you highlight existing text you want to replace, you're in
iren2701 [21]
I eblive you would be in insert mode
6 0
3 years ago
PLSSS HELP!! During the late 20th century, immigration to the United States increased dramatically from
AysviL [449]

Answer:

The correct answer is 3. Asia and Latin America.

Explanation:

America has historically been, and continues to be, one of the main arrival points for migrants from all regions of the world, mainly due to the security and political and economic stability that the United States offers its citizens. In recent years, the main regions that have sent immigrants to the United States have been Asia (Southeast Asian nations, such as Vietnam, the Philippines; authoritarian countries such as China or extremely poor such as India) and Latin America (especially Mexico, Honduras, El Salvador, Guatemala and Nicaragua).

8 0
3 years ago
In excel, you cannot format an entire column at once. true or false
mestny [16]
This question is false
3 0
3 years ago
PLEASE WRITE A ONE SENTANCE SUMMARY, WILL GIVE BRAINLIEST!! (history of computers) You have completed an extensive investigation
vladimir1956 [14]

Answer:

Charles Babbage, (born December 26, 1791, London, England—died October 18, 1871, London), English mathematician and inventor who is credited with having conceived the first automatic digital computer.

Explanation:

The idea of mechanically calculating mathematical tables first came to Babbage in 1812 or 1813. Later he made a small calculator that could perform certain mathematical computations to eight decimals. Then in 1823 he obtained government support for the design of a projected machine, the Difference Engine, with a 20-decimal capacity. The Difference Engine was a digital device: it operated on discrete digits rather than smooth quantities, and the digits were decimal (0–9), represented by positions on toothed wheels rather than binary digits (“bits”). When one of the toothed wheels turned from nine to zero, it caused the next wheel to advance one position, carrying the digit. Like modern computers, the Difference Engine had storage—that is, a place where data could be held temporarily for later processing.

6 0
3 years ago
PYTHON
Korvikt [17]

Answer:

import random

print("Hello! I have a random number from 1 to 100! It is your job to try and guess it!")

number = random.randint(1,101)

guess = int(input("start to guess: "))

num_guesses = 1

while guess != number:

   if guess > number:

       print("lower")

       guess = int(input("try again: "))

       num_guesses +=1

   elif guess < number:

       print ("higher")

       guess = int(input("start to guess: "))

       num_guesses +=1

print("congrats it took you", num_guesses, "tries")

Explanation:

6 0
3 years ago
Other questions:
  • The amount of vertical space between lines within paragraphs
    9·1 answer
  • A hierarchical addressing scheme is used
    15·1 answer
  • Sorry but, what are brainliest for?
    7·2 answers
  • A quien se le conoce como el padre de la tecnologia?
    10·1 answer
  • ¿La tecnología ha esclavizado al hombre?
    15·1 answer
  • In the GO programming language you can't declare a float, it must be a float32 or float64. Why do you think this is done if the
    10·1 answer
  • 2. The<br>is the main and usually largest data storage hardware device in a computer​
    9·1 answer
  • What are three advantages of using enterprise software in an organization?
    10·1 answer
  • Pls answer i will give 20 points
    7·1 answer
  • True or False? Popular sites are always mean accurate
    12·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!