Addition Of Programme ( Float)


Addition of programmes( float) 

  • open TurboC++
  • Click On file 

      >>new

  • Coding
#include<stdio.h>

#include<conio.h>

void main()

{

float a,b,c;
clrscr();
a=11.12;
b=22.12;
c=a+b;
printf("Addition=%f'",c);
getch();
}

  • save programme   .c extention
>>file>>save as>>
eg. addition.c

  • Run programme
>>ctrl+f9

  • compile programme
>>alt+f9

  • output comes


for more info contact me
harshalbhamare02@gmail.com

Comments

Popular posts from this blog

Area of circle = 3.14*r*r

Division ( / ) float