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

Which object has a size similar to that of lapilli?
separation of mixture by gravity of sodium carbonat into calcium chloride​
Solve the following system of equations. What is the x-value of the solution? 3x + 2y = 7 x - y + 1 = 0
Two Psychedelic Approaches to Music -Two ways music might reflect a growing interest in higher consciousness.1.Use music to enhance a drug trip2.Understand the
What is the weight percent of vitamin C in a solution made by dissolving 6.50 g of vitamin C, C6H8O6, in 55.0 g of water?
Help! But do you know, gentlemen, what was the chief point about my spite? Why, the whole point, the real sting of it lay in the fact that continually, even in
text organization and graphics
The number of pieces of popcorn in a large movie theatre popcorn bucket is normally distributed, with a mean of 1515 and a standard deviation of 15. Approximate
An object is launched from a platform. Its height (in meters), x seconds after the launch, is modeled by: h(x)=-5x2verb +20x+60 What is the height of the object
what does nation of nations mean