Computer Science, asked by tanmoypasker, 1 year ago

public class School
{
public static void main()
{
for (int i=3;i<=7;i=i+2)
{
for (int j=3;i<=i;j++)
syatem.out.print(i);
}
}
}

guys what's wrong in it plz..write the full program

Answers

Answered by sourodeep
0
public class School
{
public static void main(String args[])
{
for (int i=3;i<=7;i=i+2)
{
for (int j=3;i<=i;j++)
syatem.out.print(i);
}
}
}
Answered by QGP
4
Hey There, here's your answer. The mistakes are highlighted.

public class School
{
    public static void main(String[] args)
    {
        for(int i=3;i<=7;i=i+2)
        {
            for(int j=3;j<=i;j++)
                System.out.print(i);
        }
    }
}



Hope it helps 
Purva
Brainly Community
Similar questions