Print Integer Value - C Language Programming

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
************************************************/
You've successfully subscribed to Developer Insider
Great! Next, complete checkout for full access to Developer Insider
Welcome back! You've successfully signed in
Success! Your account is fully activated, you now have access to all content.