Computer Science, asked by Taisha14, 9 months ago

Write a program to print the first 100 natural numbers using FOR loop​ .

Answers

Answered by vkkr532001
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 anuska7471
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