Write a program in C++ to print 1 to 10 using for loop
Answers
Answered by
0
Answer:
#include <iostream>
using namespace std;
int main()
{
for(int i = 0; i < 11; i++)
{
std::cout << i << std::endl;
}
return 0;
}
Explanation:
Similar questions