Question: Coding help for C Trying to write a function that takes a cstring which something like 123-100 and then returns 23 as a int. So

Coding help for C Trying to write a function that takes a cstring which something like "123-100" and then returns 23 as a int. So the condition of the string is none of them are negative, and the operator is in between the two integers. The operator could be a +,-,or *.

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!