Question: Task 4: Write a C program to find the sum of three floats entered by the user if they are all positive. Otherwise the program
Task 4: Write a C program to find the sum of three floats entered by the user if they are all positive. Otherwise the program should print "At least one of the numbers is negative". 3.9 Enter three float numbers: 2.5 4.2 The sum is 10.6 Enter three float numbers: 7.2 -1.8 5.5 At least one of the numbers is negative
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
