Write a code to print table of a number, say 5.answer
Answers
Answered by
1
Answer:
Answered by
0
Answer:
Here is ur program
This can be used in c++
// CPP program to print table of a number
#include <iostream>
using namespace std;
int main()
{
int n = 5; // Change here to change output
for (int i = 1; i <= 10; ++i)
cout << n << " * " << i << " = "
<< n * i << endl;
return 0;
}
hope it helps
plz mark me as brainliest
Similar questions
Social Sciences,
5 months ago
Geography,
5 months ago
Math,
10 months ago
Biology,
10 months ago
Math,
1 year ago