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
One dimensional array example 2
One dimensional array example /* program to calculate sum of 10 numbers in an array */ #inc...
Conditions of the variables
Conditions of the Variables Condition is a comparison between variables. Conditions are divided i...
string functions
Strings are used in string handling operations such as, Counting the length of a string. Comparing two strings. Copyin...
program for prime number
prime number :- #include<stdio.h> int main() { int n,i,count=0; printf("Enter a number: "); scanf("%d...
program for fibonacci series
Program for Fibonacci series #include<stdio.h> main() { int a,b,c,i; clrscr(); a=0; b=1; printf("fibo...
program for even/odd number
Program for even/odd Number #include<stdio.h> main() { int a; ...
Temperature Conversion
Temperature Conversion #include<stdio.h> main() { ...
'C' interview questions
'C' Interview Questions * Without using (;)semicolon print the message? Ans...
how to write "c" program
Syntax for 'C-Program' * Program starts with Header files. * ...
string examples
#include<string.h> main() { char arr1[9]={'w','e','l','','c','o','m',...
0 comments:
Post a Comment