Lets 'K'ode 'K'han
Thursday, 3 October 2013
Printing an Integer in C
/* Printing an Integer in C */
#include <stdio.h>
main()
{
int number;
printf("Enter an integer:\n");
scanf("%d", &number);
printf("
Integer
that
you
have entered is %d\n", number);
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment