Computer Science, asked by mithileshsa4545, 4 hours ago

Write a vb program to print even no. 1 to 50

Answers

Answered by sakshimachhar1710
2

Answer:

dim i

for i=1 to 50

if (i mod 2=0) then

msgbox i&"is even number"

else

msgbox i&"is odd number"

end if

next

Similar questions