Computer Science, asked by anonymous2694, 3 months ago

Write a program in Java that displays “I want to learn Java programming” 50 times using for loop.​

Answers

Answered by atrs7391
1

Answer:

Here is your program:

package com.company;  

class Main

{

   public static void main(String[] args) {

       for (int i = 1; i < 51 ; i++) {

           //System.out.print(i+". ");

           System.out.println("I want to learn Java programming");

       }

   }

}

Similar questions