Accept a number and determine positive or negative.Also check for zero .QB64 program
Answers
Answered by
5
Answer:
INPUT "NUMBER ", A
IF A > 0 THEN PRINT A; "IS A POSITIVE NUMBER"
IF A < 0 THEN PRINT A; "IS A NEGATIVE NUMBER"
IF A = 0 THEN PRINT A; "IS NEITHER POSITIVE NOR NEGATIVE"
Hope it helps
Similar questions
Social Sciences,
2 months ago
Science,
2 months ago
Business Studies,
2 months ago
Math,
5 months ago
Chemistry,
11 months ago
India Languages,
11 months ago