Write a float function rectangle() that computes and returns the area of a rectangle using its two float formal parameters h and w, where h is the height and w is the width of the rectangle
dagi125125125
0
Newbie Poster
Recommended Answers
Jump to PostAre you talking about this?
Well show some code next time. We are here to help not to do your homework.float recSq(float x, float y){ return x*y; }
All 3 Replies
rowen_1
0
Newbie Poster
richieking
44
Master Poster
userasad
-2
Newbie Poster
phorce
commented:
You are not only giving the user the answer; you're also posting a less efficient method to the most above.
-2
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.