Search Your C Program

Monday, 23 January 2012

Program to Get the Value of a Variable from the User

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

No comments:

Post a Comment