Write a program to print the first 100 natural numbers using FOR loop .
Answers
Answered by
7
Answer:
# include <iostream>
using namespace std;
int main()
{
int i;
for (i=1; i<=100;i++)
{
cout<<endl<<i;
}
return 0;
}
Explanation:
Answered by
0
Answer:
public static numbers
{
public static void main (string args [ ] )
{
if (i<=100)
{
system.out.println("i")
}
else
{
system.out.println("i")
}
}
}
Similar questions