LED PANEL

Google It, You'll Get It.

Monday, January 31, 2011

Read and Write

#include"< stdio.h >"

main()
{
int x; // Declaring an Integer variable where u can store numbers within range

printf("Enter A Number : ");
scanf("%d",&x);
// %d says the input is an integer.
// &x point gives the address of variable x to store the value of x

printf("the value you entered is : %d ",x);
// %d says the input is an integer
// x gives the value which have stored in it

}

No comments:

Post a Comment