Division ( / ) int

Division

  • Open TurboC++
  • file>>new

  • coding

#include<stdio.h>

#include<conio.h>

void main()

{

int a,b,c;

clrscr();

a=12;

b=4;

c=a/b;

printf("division=%d",c);

getch();

}

  • Run Programme
>>ctrl+f9
  • compile Programme
>>alt+f9
  • output comes


for help


harshalbhamare02@gmail.com

Comments

Popular posts from this blog

Area of circle = 3.14*r*r

Division ( / ) float