Thursday, March 23, 2017

5 Divide Two Number from keyboard input - c program

#include<stdio.h>
#include<conio.h>
main()
{
int a, b;
float div;
printf("Type the first number: ");
scanf("%d",&a);
printf("Type the second number: ");
scanf("%d",&b);
div = a/b;
printf("Division= %f",div);
getch();
}
view raw 5.c hosted with ❤ by GitHub