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

claudia is making a gelatin desseert for a party.She plans on making 12 servings for every 5 people.If each pan claudia uses to make the dessert holds 8 serving
What does this passage describe? As a father, brimming with love, welcomes home his darling only son in a warm embrace— what pain he's borne for him and him alo
If a 35 ft rope is cut into two sections with one section 6 times as long as the other section, how long is the shorter piece?
how can you find a unit rate when given a rate?
How many quarts does it take to fill a kitchen sink
A swimming pool is open for 7 1/2 hours during a day. The pool keeps one lifeguard on duty at a time, and each lifeguard's shift is 1 1/2 hours long. How many s
write as ratio of dogs and cats 16 dogs and 18 cats
Solve this puzzle: There are multiple chickens and rabbits in a cage. There are 72 heads and 200 feet inside of the cage. How many chickens are in there and how
What might be considered an irrational reaction after a baseball player hits a homerun?
How does population growth negatively impact water quality? a. altering of wetlands b. underground water supply is increased c. decreased sedimentation in ri