Wednesday, April 27, 2011

Addition

void main( )
{
   int sum, sub, mul;
   clrscr ( );

   printf("\n enter the value a, b:");
   scanf("%d%d", &a, &b);

  sum = a + b;
  printf("%d + %d = %d",a,b,sum);
  getch( );

}

ref by:- Moumita

Tuesday, April 26, 2011

Print hello in c Language

void main( )
{
    clrscr( );
    printf("\n hello world");
    getch( );
}



ref:- moumita