Need Assistance With Debugging Include Stdio H Int Square Int Y Function Prototy
Need assistance with debugging.
#include <stdio.h>
Int square(int y); //function prototype
//main function
Int main()
{
Int number;
Printf(“Enter a value: “);
Scanf(“d%”, &number);
Printf(“nThe Square of the number is %dnn”, square(number)); // Function call
Int saquare(int y) //function definition
{
Return y * y;
}
Return 0;
}
"Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"
