i have typed the sentence. but still its showing me an error.!
package com.codegym.task.task01.task0114;
/*
CodeGym. Learn once - use anywhere
*/
public class Solution {
public static void main(String[] args) {
String s1="CodeGym";
String s2=". Learn once-";
String s3="use anywhere";
int i,j,k;
for(i=2;i<12;i++)
{
System.out.print(s1);//write your code here
for(j=i-1;j<i;j++)
{
System.out.print(s2);
for(k=j-1;k<j;k++)
{
System.out.println(s3);
}
}
}
}
}