Computer Science, asked by priyan22804, 1 year ago


write a C program to input two numbers and display them.

Answers

Answered by piyushatre29
0

#include<stdio.h>  //used for printf and scanf

#include<conio.h>   //used to include definition of getch() and conio()

void main()

{

clrscr();     //used for clear the output screen

int a,b;

printf("Enter any two number");

scanf("%d%d",&a,&b);

printf("\na=%d",a);

printf("\nb=%d",b);

getch();   //used for holding output screen

}


Similar questions