C++ Program to Find the Multiplication Table Of a Given number
C++ Program to Find the Multiplication Table Of a Given numberDi Posting Oleh : Simple Learning
Kategori :
for loop to find table of number
Multiplication table c++
program number multiplication table
C++ code to find Multiplication Table of a number using for loop - #include<iostream>
- using namespace std;
- int main()
- {
- int num;
- cout<<"Enter Number To Find Multiplication table ";
- cin>>num;
- for(int a=1;a<=10;a++)
- {
- cout<<num<<" * "<<a<<" = "<<num*a<<endl;
- }
- return 0;
- }
Sample Output :
Image View of Code:
0 Response to "C++ Program to Find the Multiplication Table Of a Given number"
Post a Comment