write a program in c plus plus to print a table of 7 using do while loop
Answers
Answered by
1
Answer:
#include <iostream>
using namespace std;
int main()
{
int n, range;
cout << "Enter an integer: ";
cin >> n;
cout << "Enter range: ";
cin >> range;
for (int i = 1; i <= range; ++i) {
cout << n << " * " << i << " = " << n * i << endl;
}
return 0;
Answered by
0
Answer:
gg from my friend of India and authors and 6
Similar questions