Computer Science, asked by vartika156, 11 months ago

write a program to print the first three natural numbers​

Answers

Answered by aditijaiswal810
3

Answer:

public class Natural

{

public void main()

{

int i;

for(i=1;i<=3;i++)

{

System.out.println(i);

}

}

}

Similar questions