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

The Sino-japanese war exposed military weakness in? A)China B)Japan C)Korea D)Russia
If f(x) = 1 – x, which value is equivalent to |f(i)|? options are: a. 0 b. 1 c. √2 d. √-1
How did the advances in steel production and oil refining affect US industry History
If f(x) = 1 – x, which value is equivalent to |f(i)|? options are: a. 0 b. 1 c. √2 d. √-1
Which is the meaning of the root -ques- in words such as inquisitive and inquire? a. take b. speak c. equal d. ask
An expense is entered as a _____ in a financial ledger. a. balance b. credit c. debit d. savings
We need to urge our city planners to say goodbye to the urban sprawl that has engulfed our nation like a tidal wave in the last few decades, and instead build
In order for work to take place the energy present must be related to the movement of the object. a. the force applied must be a balanced force resulting in mo
There are 3 boys and 2 girls in the Grape family. Mr. Grape bought 3 1/2 pounds of candy to divide equally among them. How much candy did each child get?
Solution for 3/8 + 16/24 =