pgm1 c1
🧩 Syntax:
#include <stdio.h>
int main(){
float a,b,sum;
printf("enter the values for a & b=");
scanf("%f %f",&a,&b);
sum=a-b;
printf("the sum of %f and %f is %f",a,b,sum);
return 0;}#include <stdio.h>
int main(){
float a,b,sum;
printf("enter the values for a & b=");
scanf("%f %f",&a,&b);
sum=a-b;
printf("the sum of %f and %f is %f",a,b,sum);
return 0;}