write a program that inputs a number and display its table
#include <iostream>
# include <conio.h>
using namespace std;
int main()
{
int N;
cout<<"Enter an integer";
cin>>N;
for(int i=1;i<=10; i++)
cout<<N <<"X"<<i<<"\t"<< (N*i)<<endl;
return 0;
}
Find Tons of C++ Programming examples, projects with code. Also find books solutions.
1 Questions:
well :)
Post a Comment