tiwaribidur798 tiwaribidur798
  • 19-12-2020
  • Computers and Technology
contestada

write algorithm and QBASIC and flowchart to find a number and check this number is positive or negative or zero ​

Respuesta :

shreyathapa7
shreyathapa7 shreyathapa7
  • 19-12-2020

Answer:

Qbasic:

CLS

INPUT "ENTER ANY NUMBER";N

IF N>0 THEN

PRINT "THE NUMBER IS POSITIVE"

ELSE IF N<0 THEN

PRINT "THE NUMBER IS NEGATIVE"

ELSE

PRINT "THE NUMBER IS ZERO"

ELSE IF

END

Answer Link

Otras preguntas

Carla holds a ball 1.5 m above the ground. Daniel, leaning out of a car window, also holds a ball 1.5 m above the ground. Daniel drives past Carla at 40 mph and
Which of the following statements is most accurate?
how would i answer | 3x | < -6​
Why are enzymes considered catalysts?
A woman currently gets out of breath while casually walking one mile in 30 minutes. She wants to improve her fitness level.What is an appropriate short-term goa
Can anyone prove this identity? Thank you.
1. What is the smallest number that is divisible by 20,48 and 72?2​
Death valley is one of the hottest places on earth with a recorded maximum temperature of 57°C the lowest temperature ever recorded was -89°C in Antarctica what
How are cancer cells different from healthy cells? Group of answer choices Cancer cells originate from an outside organism. Cancer cells do not follow the nor
Divide. −212÷6 −216 −512 512 216