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
Digiron [165]
3 years ago
8

Write a program to insert student grade and print the following

Computers and Technology
1 answer:
tangare [24]3 years ago
8 0

Answer:

The answer is the program, in the explanation

Explanation:

I am going to write a C program.

int main(){

int grade = -1; /*The grade will be read to this variable*/

/*This loop will keep repeating until a valid grade is inserted*/

while(grade < 0 || grade > 100){

         printf("Insert the student's grade: %n");

         scanf("%d", &grade);

}

/*The conditional according to the grade value*/

if (grade >= 90){

     printf("Your grade is A\n");

}

else if (grade >= 80 && grade < 90){

     printf("Your grade is B\n");

}

else if (grade >= 70 && grade < 80){

     printf("Your grade is C\n");

}

else if (grade >= 60 && grade < 70){

     printf("Your grade is D\n");

}

else{

    printf("You got a failling grade\n");

}

return 0;

}

You might be interested in
When did the silent movie era end?<br> A.1919<br> B.1929<br> C.1939<br> D.1949
11111nata11111 [884]

Answer:

The answer is 1929.

5 0
3 years ago
Read 2 more answers
5. Why is adaptability important in the workplace?
vesna_86 [32]

Answer:

because u can adapt a job

Explanation: hmmhmhmmhmhmhmmhhm

THIS HELPS RIGHT??????

8 0
3 years ago
The use of digital technology in medicine is constantly evolving.
otez555 [7]

Answer:

Digital technology is easy to understand once you know how to properly use it.

Explanation:

3 0
2 years ago
To resize an embedded chart, ____. select one:
Mrrafil [7]
I think its ' D ' ,You can use both A and B
5 0
3 years ago
The following is the correct way to write a for loop
Rzqust [24]

Answer:

for i in range

Explanation:

This is the only excerpt of code

3 0
2 years ago
Other questions:
  • Which of the following is not true about managing your privacy settings? (select all that apply)
    9·2 answers
  • Your network employs basic authentication that centers on usernames and passwords. However, you have two ongoing problems. The f
    13·1 answer
  • . What is automated testing?
    10·1 answer
  • "the magical number seven, plus or minus two" refers to the storage capacity of ________ memory.
    5·2 answers
  • When evaluating the validity of a website beyond its URL, you can practice the "rule of 3" which means
    11·2 answers
  • Var words = ["apple", "bug","car", "dream", "ear", "food"]
    6·2 answers
  • Which term describes the process of training a machine to do simple, repetitive tasks, and adapt or correct its performance base
    9·1 answer
  • B. Differentiate Operation System from other software. give me 4-5 sentences pls.
    10·2 answers
  • Someone help me
    7·1 answer
  • Why is it important to prepare the farm resources before you start working? explain​
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!