write a program to print the following :
2.2,3.3,4.4,5.5,6.6,7.7,8.8
write in qbasic form
Answers
Answered by
9
Language:
QBasic
Program:
CLS
FOR i=2 TO 8
PRINT 1.1*i
NEXT i
END
Output:
2.2
3.3
4.4
5.5
6.6
7.7
8.8
Explanation:
- Runs a loop and prints their product with 1.1 on screen.
Attachments:
Similar questions