Write a program in java to print 50 to 100 using for loop
Answers
Answered by
1
Answer:
class for_loop
{
public static void main(String args[])
{
for(int i = 50;i <= 100; i++){
System.out.print(i+" ");
}
for(int i = 50;i <= 100; i++){
System.out.println(i+" ");
}
}
}
Explanation:
Answered by
1
Answer:
Please mark it as a brainlist
Attachments:
Similar questions