daneayahbriggs7347 daneayahbriggs7347
  • 21-12-2019
  • Computers and Technology
contestada

Test if a number grade is an A (greater than or equal to 90). If so, print "Great!". Sample Run Enter a Number: 98 Sample Output Great! Hint Grades may be decimals

Respuesta :

emmanuelodonkor emmanuelodonkor
  • 23-12-2019

Answer:

Using Python language :

a = eval ( input ( "Enter a mark please"))

if ( a <0){

print ("Invalid mark")};

else if (a >=90 && a <=100){ print

( "GREAT")};

Explanation:

Answer Link

Otras preguntas

Legislative Branch - What is gerrymandering?
How do you think the Internet will affect the world of work in the future?
A coverslip should be slowly lowered from a 45° angle onto a slide in order to (1) prevent the slide from being scratched (2) stop the loss of water from
What is a 11=17 in simplest form
How was Spanish colonial society structured?
the sum of a number and twice is square is 36.find the numbers?
if a bag contains 2 red marbles, 3 blue marbles, 5 yellow marbles and 2 green marbles, if a marble is randomly selected what is the probability that it is red _
Peter works in a shop an was told to increase the prices by 15%. he increased one price to £172.50. what was the original price.
How do totalitarian states and constitutional governments differ?
The Calvin cycle and the Krebs cycle are referred to as cycles of chemical reactions because they