Write a program to print first 10 multiple of 19 in qbasic
Answers
Answered by
0
Explanation:
x = 19
for i in range(1,10+1):
u = x*I
print("first multiple of 19",u)
Answered by
1
Question:-
Write a program to print first 10 multiples of 19 in QBASIC.
Program:-
CLS
FOR I=1 TO 10 STEP 1
A=19*I
PRINT "19 x "+I+"="+A
NEXT I
END
First of all, we will create a loop that will run 10 times and we will multiply 19 with each of the values and print them.
Similar questions