Thank you so much! Everything is working fine. Can you please tell me where I can find more information on the %g. I have never used that before
Type: Posts; User: csmajor
Thank you so much! Everything is working fine. Can you please tell me where I can find more information on the %g. I have never used that before
I changed my code based on the prototype suggested. but results are still not right. My results are displaying sum = 1245036 and product = 1245040
Code:
#include <stdio.h>
void...
I agree, this would be much simpler without the pointers but I have to use them
I do not understand what you mean. I am new to using pointers. In this program I have to find the sum and product of two integers inputed by the user using the function prototype: void...
I have listed my code. My numbers are being read but the product and sum are not displaying the correct answer. What am I missing? Any suggestions?
#include <stdio.h>
void sum_product(int* x,...