Computer Science, asked by sasmitapanigrahi2006, 8 months ago

Write a program in java to print 50 to 100 using for loop

Answers

Answered by sanjiththesupernigha
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 piyushsaini724
1

Answer:

Please mark it as a brainlist

Attachments:
Similar questions