Question: Lab Assignment Make a C file called conditions.c Using scanf ( ) ( as shown in lecture ) , prompt the user to input two
Lab Assignment
Make a C file called conditions.c
Using scanfas shown in lecture prompt the user to input two ints and a float
In a new float variable named appropriately add the three inputs together
Use the ceil function from math.h to ceiling the value and store the result in an int
Write a conditional block that checks:
If the total input is less than print: "Total input less than :
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
