How to write a multiplication table in C++ coding | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
0

How to write a multiplication table in C++ coding

Please answer my question

25th Dec 2022, 5:53 PM
Peter Messay
5 Antworten
+ 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; }
27th Dec 2022, 1:04 PM
Omanshu
Omanshu - avatar
0
Search Code section for examples and inspiration. See how they made it, and learn from their work.
25th Dec 2022, 6:00 PM
Ipang
0
Can you share the code please
25th Dec 2022, 6:05 PM
Peter Messay
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.
25th Dec 2022, 7:39 PM
Ipang
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
26th Dec 2022, 6:35 AM
Ipang