Program in C language to print an integer value
Click here to open this program in Turbo C++
/*******************************************
Statement - Print Integer
Programmer - Vineet Choudhary
Written For - http://developerinsider.co
********************************************/
#include <stdio.h>
#include <conio.h>
void main()
{
int a;
clrscr();
printf("Enter an integer\n");
scanf("%d", &a);
printf("Integer that you have entered is %d\n", a);
getch();
}
/************************************************
Output -
Enter an integer
2
Integer that you have entered is 2
************************************************/