Question: I ' m stuck on this question and would please need some help with this one, I typed in it the question using an AI

I'm stuck on this question and would please need some help with this one, I typed in it the question using an AI program and this is how the code turned out. The output is barely correct here and I'm unsure what I did wrong?
11.1.2: Printing with pointers.
If the input is negative, make numItemsPointer be null. Otherwise, make numItemsPointer point to numItems and multiply the value to which numItemsPointer points by 10. Ex: If the user enters 99, the output should be:
Items: 990
 I'm stuck on this question and would please need some help

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!