Our website is made possible by displaying online advertisements to our visitors.Please consider supporting us by disabling your ad blocker.
Drop Down MenusCSS Drop Down MenuPure CSS Dropdown Menu
Drop Down MenusCSS Drop Down MenuPure CSS Dropdown Menu

Translate it in your own Language

Print this Job Post

Print Friendly and PDF

Thursday, May 1, 2014

C program print integer

This c program first inputs an integer and then prints it. Input is done using scanf function and number is printed on screen using printf.

C programming code
 #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();
   }

No comments:

Post a Comment

Copyright @ CrackMNC 2014-2024
Divas Nikhra Theme by Crack MNC