Substraction( - ) ( float )

Substraction

  • Open TurboC++
  • file>>new

  • coding

#include<stdio.h>

#include<conio.h>

void main()

{

float a,b,c;

clrscr();

a=20.20;

b=10.10;

c=a-b;

printf("substraction=%f",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