surakshyasubedi9
surakshyasubedi9 surakshyasubedi9
  • 06-10-2021
  • Computers and Technology
contestada

qbasic program to check whether an entered number is positive or negative or neutral​

Respuesta :

prasamsharayamajhi
prasamsharayamajhi prasamsharayamajhi
  • 06-10-2021

Answer:

CLS

INPUT "Enter a number: ",N

IF N > 0 THEN

PRINT "The number is Positive."

ELSEIF N < 0 THEN

PRINT "The number is Negative."

ELSE

PRINT "The number is Zero."

END IF

END

Answer Link

Otras preguntas

Which of these is the best reason for proper nutrition? A. To lose weight quickly B. To maintain a healthy body weight C. To maintain a healthy personality D. T
state two benefits children may experience when their parents are prepared financially for parenthood
Why do you think people choose to use poisons when they wish to harm someone? What characteristics of poisons make them a choice for some murderers?
Would anyone know the correct answer to this question? It's from the story Iliad. Andromache begs Hector not to join the battle; she tells him that the Greeks
what types of ancient organism formed oil and natural gas?
How does starbuck interpret ahab's obsession?
whether you think a society like this one with structure and rules would be more or less likely to be superstitious
i’m confused on what it means?
Which number logically follows this series 4 6 9 6 14 6?
There is a number, such that 3 times the number minus 6 equals to 45. Find the number.