Q. Sum of Two number ?

THE OUTPUT WOULD BE


#include<stdio.h>
#include<conio.h>
void main( )
{ clrscr( );
float a,b,c;
printf("Enter number a:");
scanf("%f",&a);
printf("Enter number b:");
scanf("%f",&b);
c=a+b;
printf("Sum=%f",c);
getch( );
}

No comments:

Post a Comment