Question: Is there a way to make an error statement for if a value r,g,b is not a number without including any libraries other than (#include

Is there a way to make an error statement for if a value r,g,b is not a number without including any libraries other than (#include math.h)(#include stdlib.h) and then return a error using return(1) or how would I edit the following and finish it:

if (!isdigit(*r) || !isdigit(*g) || !isdigit(*b)) {

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!