#include<iostream>
#include<conio.h>
int main()
{
int a,b,c;
cout<<"enter any number between 1 to 10";
cin>>a;
for(b=1;b<=10;b++)
cout<<c<<"*"<<b<<"="<<a*b<<"\n";
getch ();
return 0;
}
** Edit **
|
|
|
|
Multiplication table
Page 1 of 1
Multiplication table C++ program; giving table of any number between 1 to 10#3Posted 23 May 2009 - 11:01 PM
Welcome to DIC!
Please edit your posting (see the "EDIT" button in lower right). ( a ) Delete all your code. ( b ) Get a fresh copy of the code with formatting in place from your editor / IDE. ( c ) Paste the formatted code between code tags like this ( d ) Use the "Preview Post" button to check it's all good. ( e ) Use the "Submit Modified Post" button to finish the editing.
Page 1 of 1
Fast Reply
1 User(s) are reading this topic
|
||||||||
Forum Index:
Programming Help |
C and C++ |
VB6 |
Java |
VB.NET |
C# |
ASP.NET |
PHP |
ColdFusion |
Perl and Python |
Ruby |
Databases |
Other Languages |
Game Programming |
Mobile Development |
Software Development |
Computer Science |
Industry News |
52 Weeks Of Code |
Programming Tutorials |
C++ Tutorials |
Visual Basic Tutorials |
Java Tutorials |
VB.NET Tutorials |
C# Tutorials |
Linux Tutorials |
PHP Tutorials |
ColdFusion Tutorials |
Windows Tutorials |
HTML/JavaScript Tutorials |
CSS Tutorials |
Flash Tutorials |
Web Promotion Tutorials |
Graphic Design & Photoshop Tutorials |
Software Development Tutorials |
Database Tutorials |
Other Language Tutorials |
ASP.NET Tutorials |
Game Programming Tutorials |
WPF & Silverlight Tutorials |
Mobile Development Tutorials |
Python Tutorials |
Ruby Tutorials |
