Add two integer numbers with user input

Program to add two integer numbers and give number at run-time


#include<conio.h>
#include<stdio.h>

void main()
{

int number1, number 2;

clrscr();

printf("Enter First Integer number : ");
scanf("%d", &number1);

printf("Enter Second Integer number : ");
scanf("%d", &number2);

printf( " Sum of %d and %d is %d" ,number1,number2,number1+number1);

getch();
}

Comments

Popular posts from this blog

SKILL ROCKS TECH QUESTIONS

C Program for Analog Clock Design

Php Check is date or not