Solved by an expert
Write a C function int rectArea (int len, int wid) that returns the area of a rectangle
Write a C function int rectArea (int len, int wid) that returns the area of a rectangle with length len and width wid. Test it with a main program that inputs the length and width of a rectangle and outputs its area. Output the value in the main program, not in the function. You need to submit code and output.
Show Answers
I am not sure because I don't have my calculator so my guess would be 6