CBbrandon6724 CBbrandon6724
  • 12-10-2017
  • Computers and Technology
contestada

"write a program that reads two floating point numbers and prints their sum difference and product."

Respuesta :

W0lf93
W0lf93 W0lf93
  • 21-10-2017
int main() { float a; float b; float sum; float difference; float product; printf("enter 2 numbers"); scanf("%f%f",&a,&b); sum= a + b; difference = a - b product =a*b; printf("\nsum: %f" , sum); printf("\ndifference: %f, difference); printf("\nproduct : %f, product ); }
Answer Link

Otras preguntas

Where does the majority of canada's population live?
What is the relationship between pollution and ground water?
Helps others at work, improve community/benefit society, achieve status/power/respect, travel, work independently, work creatively all fall under which of the s
is packed the moving van a run on sentence or fragment
One digit times one digit that equals 44
Select the functions that have a value of 0. sin0° cos0° tan0° csc0° sec0° cot0°
Why were the regional aristocrats/nobles in early midevil europe were able to attain more power than the kings they supposedly served
What secret plan do pyramus and thisbe make??
Which statement best describes what is meant by limited government? a)The government is not adequately funded. b)There are very few government officials in powe
Multiply. –7 • (–11)