Thursday, July 23, 2020

Write a Program Print an Integer in C.

Print an Integer in C.


#include<stdio.h>
int main()
{
  int x;
  printf("Enter an integer\n");
  scanf("%d", &x);
  printf("The integer is: %d\n", x);
  return 0;
}



OUTPUT

Print an Integer in C.
Print an Integer in C.



No comments:

Post a Comment

Please do not any spam link in Comment Box