Sunday 20 October 2013

Input from User in C


#include<stdio.h>
#include<conio.h>
void main()
{
int a;
printf("Enter the number:");
scanf("%d",&a);
printf("the entered number :%d",a);
getch();
}

Output:-enter the number:5
            the entered number:5

No comments :

Post a Comment