Wednesday, 3 May 2017

/*Program to display tables of all number between range*/

Program:

#include<studio.h>
#include<conio.h>
void main( )
{ int lb,ub,i;
clrscr( );
printf ("\n enter lb and ub");
scanf ("%d%d",&lb,&ub);
{
for(i=1;i<=10;i++)
{
printf ("%d",lb*i);
}
printf ("\n");
}
}

No comments:

Post a Comment

Program to display ASCII value of any character.

Program #include<studio.h> #include<condo.h> void main( ) { char ch; clrscr(); printf("\n enter any character...