Write a C++ program to print numbers from 1 to 10.
Answers
Answered by
0
jjjjuuuuuwuw
Answer:
juuuuuujjuuj
Explanation:
uuuujiiiiiiiiiii
Answered by
3
Following program shows you how to print numbers from 1 to 10 using while loop.
#include <iostream>
int main() {
int input = 1;
while (input <= 10) {
std::cout << "\n" << input;
input++;
}
}
Output:
1
2
3
4
5
6
7
8
9
10
Similar questions