Monday, 30 March 2015

c program to print an integer that user entered using keyboard

write a c program to print an integer that user entered using keyboard

/* c program to print an integer that user entered using keyboard */

/* author: sai date:27-3-2015 */

#include

int main()
{
int n;

printf("Enter an integer\n");
scanf("%d", &n);

printf("Integer that you have entered is %d\n", n);

return 0;
}



No comments:

Post a Comment