Programming Ville
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
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment