Write java code to display the following:
1 1 1 1
2 2 2 2
3 3 3 3
4 4 4 4
Share
Write java code to display the following:
1 1 1 1
2 2 2 2
3 3 3 3
4 4 4 4
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
public class code
{
pblic static void main(String args())
{
InputStreamReader=newInlutStreamReader(System.in)
BufferedReader.....( I M NOT WRITING FULL!!!)
{
int i, a;
i=5;
for(a=1;a<i;a++)
{
sopln(a);
}
}
}
HOPE YOU LIKE MY ANSWER PLEASE MARK MY ANSWER AS BRAINLIEST