Question: C programing Problem 2 : ( 1 0 pts ) Write a function named numRoots that accepts three values ( a , b , c
C programing
Problem : pts
Write a function named "numRoots" that accepts three values a b c of type double as parameters and returns an integer value. Only a function, no main program The function should evaluate the term and return an integer as follows:
If is positive then return
If is zero then return
If is negative then return
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
