write a program and print numbers from 1 to 25(non anonymous question )
Answers
Answered by
2
Answer:
IDK which programing language you want but I am providing java here
public class sample{
public static void main(String[] args)
{
int n=26, i;
System.out.print("Numbers from 1 to 25:");
for(i=1; i < n; i++){
System.out.print(i +" ");
}
}
}
Answered by
1
Answer:
In the3 given question u have not mentioned the program name
public class new{
public static void main(String[] args)
{
int x=26, i;
System.out.print("Numbers from 1 to 25:");
for(i=1; i < x; i++){
System.out.print(i +" ");
} } }
I have provided the code in JAVA language
Hope this helps you
Similar questions