write the program to print numbers in the pattern 2,5,10...101 by Qbasic
Answers
Answer:
would you write QBasic programs to print first ten even numbers?, CLS FOR I = 2 TO 20STEP 2 PRINT I; NEXT I END. FOR i = 1 TO 10 How do I write a program to calculate the sum of the first 10 even numbers in Java? cls for i = 2 to 20step 2 print i; next i end
A qbasic program to print even numbers within 1 to 10, A qbasic program to print even numbers within 1 to 10. PhalguniTutorials. Loading Duration: 2:23 Posted: Sep 15, 2018 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 check the entered number is EVEN or ODD.
Rem to print first 10 even and odd numbers, Qbasic program to print even numbers between 1 to 25. CLS FOR I = 2 TO 25 STEP 2. PRINT I; NEXT I END. Posted by pnmourya at 10:18 AM. 41)Write a program to print numbers stated below USING WHILE…WEND STATEMENT. 1,3,5,7,9,…99 CLS I = 1 While I <=99 Print I; I = I + 2 WEND END 42)Write a program to print numbers stated below USING WHILE…WEND STATEMENT. 1,4,9,…upto 10th term. CLS I=1 While I < =10 Print I^2; I = I + 1 WEND END *Please comment if you find anything wrong