write a program in C plus plus to display the table of 5
Answers
Answered by
1
Answer:
#include <iostream>
using namespace std;
int main() {
int n;
cout << "Enter a positive integer: ";
cin >> n;
for (int i = 1; i <= 10; ++i) {
cout << n << " * " << i << " = " << n * i << endl;
}
return 0;
}
Explanation:
mark as brainliest plz..
Answered by
0
Explanation:
Similar questions