Home Top Ad

Responsive Ads Here

Write a program to Division in C

Share:

 *******Write a program to Division in C *******

#include<stdio.h>

#include<conio.h>

void main()

{

clrscr();  //Previous screen clear

int a,b,c;

printf("Enter Two Num:");

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

c=a/b;

printf("The Division is %d\n",c);

getch();

}

===================================Output=================================

Enter Two Num: 10 5

The Division is :2

Post a Comment

No comments

Welcome to saveracom.blogspot.com

Data Science using Spreadsheet Software Assignment 3

Printing Workbooks select the cells you want to print and then set that area as the print area   Steps to set a print area: Select the cells...