Write a program to print 5,10,15......50 using for looppl help me
Answers
Answered by
7
Question:-
Write a program to print 5,10,15,...50 using for loop.
Program:-
This is a program in java.
class Loop
{
public static void main()
{
for(int i=5;i<=50;i=i+5)
System.out.print(i+" ");
}
}
Similar questions