who to program multiple of 7 for 10 rows in c++ or c
Answers
Answered by
0
Answer:
C ++
#include <iostream>
using namespace std;
int main()
{
int n=7;
for (int i = 1; i <= 10; ++i) {
cout << n << " * " << i << " = " << n * i << endl;
}
return 0;
}
Similar questions