Computer Science, asked by ranjanaradhya164, 6 hours ago

write a program to print the Natural numbers 1 to 25​

Answers

Answered by ommau1110
0

Answer:

n= input (' Enter a natural number :') i=1 while i<= n: print "i"= ,1 i=i+1 .

Answered by anitaupadhyay691
0
In Java:
public class natural
{
public static void main ()
{
for ( int i= 1; i <=25; i++;)
{
System.out.println( i);
}
}
}
Hope u found it helpful!!!!
Similar questions