## Problem 2.8 :: Write a program to read two floating point numbers using a scanf statement, assign their sum to an integer variable and then output the values of all the three variables.


## Solution ::


## Write down headers yourself.


void main()
{
float a,b;
int sum;
clrscr();
printf("Input float a & b:");
scanf("%f %f",&a,&b);
sum=a+b;
printf("\nThe summition is=%d",sum);
getch();
}

1 comments

  1. Anonymous  

    March 4, 2022 at 8:22 AM

    Casino Finder (MapYRO) - Mapyro
    Find Casinos Near 창원 출장안마 Me 상주 출장샵 in Laughlin, NV. 충주 출장안마 Las Vegas Strip, Nevada. Las Vegas Strip, Nevada. 화성 출장샵 Casino. Wynn, Las Vegas. Bellagio, Caesars Palace, The 김제 출장샵 Venetian.