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

At the beach, Dave built a sandcastle that was 2 2/5 feet high.If he added a flag that was 2 1/2 feet high, what is the total height of his creation?
Kim bought 24 apples at the market. She put 4 apples into each of 4 drawers in her kitchen. She gave the rest of them to her friend. How many apples did her fri
How would you make x the subject of this equation: y=x(a-b) ? And if you can, can you show me how you worked it out please. Thanks
A small company has a fleet of 7 pickup trucks and 5 delivery vans. A larger company has the same ratio of pickup trucks to delivery vans. If the larger company
How do I write a thesis statement on this question?
Which of the following topics would be suitable for a short research paper?
the united states sent forces to what area of the world in the mid 1990s to stop ethnic cleansing?
An author is having a book signing at a store. He agrees to give 5% of his profit to literacy programs and 15% of his profit to his manager. If he makes a profi
Definition: Vocabulary Audio This company specializes in construction and domestic improvements and is headquartered just outside of Atlanta, Georgia. What the
true or false: you can trust a dissembles