- Program :
#include<conio.h>
void main()
{
int a,b,c;
clrscr();
printf("\n----------------PRINT USER DEFINED VALUES----------------");
printf("\nPlease enter any two numbers:");
scanf("%d%d",&a,&b);
printf("\nThe two numbers are: %d %d",a,b);
getch();
}
- Output :
No comments:
Post a Comment