Addition of programmes (int)

ADDITION OF PROGRAMME ( INT)





  • OPEN TurboC++

  • CODING 
    
#include<stdio.h>
#include<conio.h>
void main()

        int a,b,c;
        clrscr();
        a=10;
        b=10;
        c=a+b;
        printf("Addition=%d",c);
         getch();
}

  • save programme in .c extention
( eg.  programme.c)

  • run  programme
  >> ctrl+f9

  • compile programme
>>alt+f9



and output comes




for help contact me 
harshalbhamare02@gmail.com


Comments

Popular posts from this blog

Area of circle = 3.14*r*r

Division ( / ) float