write a table for c++ use for loop
Write table any number in this program
==========Here is the code==========
#include<iostream>
using namespace std;
int main(){
int a = 1;
int b;
cout<<"Enter the number want table "<<endl;
cin>>b;
for(int a =1; a<=10; a++){
cout<<a*b<<endl;
}
}
Made by skeleton programmer
Comments
Post a Comment