how to use loop for writing a string/text 10 times.
package com.codegym.task.task01.task0114;
/*
CodeGym. Learn once - use anywhere
*/
public class Solution {
public static void main(String[] args) {
//write your code here
System.out.printIn("CodeGym. Learn once - use anywhwre");
System.out.printIn("CodeGym. Learn once - use anywhwre");
System.out.printIn("CodeGym. Learn once - use anywhwre");
System.out.printIn("CodeGym. Learn once - use anywhwre");
System.out.printIn("CodeGym. Learn once - use anywhwre");
System.out.printIn("CodeGym. Learn once - use anywhwre");
System.out.printIn("CodeGym. Learn once - use anywhwre");
System.out.printIn("CodeGym. Learn once - use anywhwre");
System.out.printIn("CodeGym. Learn once - use anywhwre");
System.out.print("CodeGym. Learn once - use anywhwre");
}
}