Computer Science, asked by prnce3081, 10 months ago

wap to print first 10 natural no.s of java

Answers

Answered by pallavi89
1

Answer:

class a

{

public static void main ()

{

for (int i =1; i<=10; i++)

{

System.out.println( i )

}

}

}

Answered by Aadya1234T
0

Answer:

Hope this helps you....

PLEASE MARK ME AS BRAINLIEST.......

Attachments:
Similar questions