qbasic program to print natural numbers upto 20
Answers
Explanation:
Here's what I know so far
Qbasic program to check the entered number is Positive, Negative or Zero.
CLS INPUT "Enter a number: ",N IF N > 0 THEN PRINT "The number is Positive." ELSEIF N < 0 THEN PRINT &qu...
Qbasic program to print odd numbers between 1 to 25
CLS FOR I = 1 TO 25 STEP 2 PRINT I; NEXT I END
Qbasic program to print even numbers between 1 to 25
CLS FOR I = 2 TO 25 STEP 2 PRINT I; NEXT I END
Qbasic program to display the greatest number among five numbers entered.
CLS INPUT "Enter the first number: ", A FOR I = 2 TO 5 INPUT "Enter the next number:", N IF N > A THEN A = N NE...
Qbasic program to enter any two numbers and display the HCF and LCM.
1. Using linear programming: CLS INPUT "enter any two numbers:", A, B C = A D = B WHILE A MOD B <> 0 T = A MOD B ...
Qbasic program to check the entered character is vowel or consonant
REM to check the entered character is vowel or consonant CLS INPUT "Enter a character:", w$ IF LCASE$(w$)="a" OR LCA...
Qbasic program to print Fibonacci Series: 1, 1, 2, 3, 5, 8, 13 ....... up to 20th term.
CLS A = 1 B = 1 PRINT A; PRINT B; FOR I = 1 TO 18 C = A + B PRINT C; A = B B = C NEXT I END
HOPE it helps
Pls rate
Thanks
Answer:
search in google
Explanation:
it comes i have also tried mate