Question: C programming Homework6: Complete program Step1 give a meaningful name to our function Say scale_num() function is used to scale two nurnbers. Step2:The function must
Homework6: Complete program Step1 give a meaningful name to our function Say scale_num() function is used to scale two nurnbers. Step2:The function must accept three parameters of float type say, scale_num(floate numi float num2 float scale). Step3: the function should calculate values after scaling,ie, numa=scale, . After combining the above three steps, function declaration to implement calculation is void scale_num(float num1. float num2, float scale) Steps in main function Accept input for two numbers and one scaling value; Call scale_num function and pass three parameters: Display the two scaled numbers on the screen
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
