//C program to take an integer
//as input and print it
#include <stdio.h>
//Driver Code
int main()
{
//Declare the values
int num;
//Input the integer
printf("Enter the integer: ");
scanf("%d",&num);
//Display the integer
printf("Entered integer is:%d",num);
return 0;
}
To embed this program on your website, copy the following code and paste it into your website's HTML: