EASY 2 LEARN 'C'
Home
DotNet
Thursday, 30 August 2012
Program to print multiplication table
Program to print multiplication table
:-
#include<stdio.h>
main()
{
int r,i,j,k;
printf("Enter the number range: ");
scanf("%d",&r);
for(i=1;i<=r;i++)
{
for(j=1;j<=10;j++)
printf("%d*%d=%d ",i,j,i*j);
printf("\n");
}
return 0;
}
0 comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Search Box
'C' Language
'C' Programming
(27)
Arrays in 'C'
(5)
Interview Que's about 'C'
(8)
Strings in 'C'
(4)
Popular Posts
Logical Interview Questions2
Logical Interview Questions There are three boxes with fruits: one box with apples, one bo...
swapped 2 numbers without using 3 variable
Swapped 2 numbers without using 3 variable #include<stdio.h> main() { int a=10,b=20; ...
your tiny steps towards programming
Your tiny steps towards programming Programming Language is divided in to two types. > ...
Logical Interview Questions
Logical Interview Questions ...
'C' interview questions
'C' Interview Questions * Without using (;)semicolon print the message? Ans...
Approaches and Algorithm of 'C'
Approaches of 'C' Language :- These are 4 types. * Procedural Language. * Logical...
switch statement program
Switch statement program #include<stdio.h> main() { in...
Pointers introduction
Pointer :- · It is avariable that represents the location of a data item. · It can be declared as a variable ...
switch statement
Switch statement Switch is a keyword,it is used to create attractive interaction betwe...
One dimensional array example 2
One dimensional array example /* program to calculate sum of 10 numbers in an array */ #inc...
0 comments:
Post a Comment