0
How to write a multiplication table in C++ coding
Please answer my question
5 Answers
+ 1
NOTE: Before looking at my code ,try it yourself.
Code:
#include <iostream>
using namespace std;
int main(){
int n,i,product;
cout<<"Enter The Number"<<endl;
cin>>n;
i=1;
while(i<=10){
product=n*i;
cout<<n<<'x'<<i<<'='<<product<<endl; // '*' can also be used instead of 'x'
i++;
}
return 0;
}
0
Search Code section for examples and inspiration. See how they made it, and learn from their work.
0
Can you share the code please
0
There are so many of them that the links won't fit in here. Have you tried searching yet? you have the freedom to choose, from which code you want to learn, disregarding language etc.
0
And as a future reference, please use relevant words in post tags, whatcha know, they do have a purpose after all ; )
https://code.sololearn.com/W3uiji9X28C1/?ref=app