Write a VB program to display first 20 even no. using Do... while loop.
Answers
Answered by
1
Answer:
irst you need somewhere to store the numbers, in this case j
The you need to go through the numbers 1–100, this is
PLZ MARK ME AS A BRAINLIST
Answered by
0
Answer:
Answer:
# program to print first 20 even numbers using while loop
n=1
while n<=20:
if n%2==0:
print(n)
n+=1
____________________________________
for clarity please refer to the attachments
⇒ first attachment contains the program
⇒second attachment contains the output
Explanation:
Attachments:
Similar questions
Math,
27 days ago
Math,
27 days ago
Computer Science,
27 days ago
Social Sciences,
1 month ago
Chemistry,
1 month ago
Hindi,
9 months ago
Art,
9 months ago