Division Of Two Numbers In C Programming Language Code::Blocks - Math Traders

Latest

Division Of Two Numbers In C Programming Language Code::Blocks

Hey friends welcome to coding siyapaa in today's tutorial we will learn how to write a program in c programming language to find the division or quotient of two numbers.

Division of two numbers in c programming language can be found out by using a division operator ( / ) which is also used to store quotient into a variable in C programming Language.

To find the division or quotient of two numbers in c programming language we shall be writing a very simple program to create your approach quite clear about C- programming Language.



Lets Begin here:- 

#include <stdio.h>
#include <stdlib.h>

int main()
{
   float a,b;
   float div;
   printf("enter two integers \n");
   scanf("%f%f",&a,&b);
   div=a/b;
   printf("division of numbers is %f",div);
  getch();
}

No comments:

Post a Comment