+ 1
Write a function for evaluating the area of rectangle having sides a and b. Both sides and area should be taken in float values
plzz give me proper written answer so that i can just copy it
10 Answers
+ 4
Yeah a really easy piece of homework...
+ 3
Smells like homework...
+ 1
float area(float a, float b){
return a*b;
}
btw if this is homework and you can't do this you really need to study
+ 1
a) No.
b) That's cheating.
c) Show us you've tried.
d) The point is to learn.
e) These shouldn't even be in point form but whatever.
f) We aren't here to do your homework.
g) At least you were honest.
0
are you have a simple function? something like:
inline float area(const float a,
const float b)
{
return a*b;
}
- 1
yes i have more questions as well
- 1
Made it a bit better for your teacher:
float area(const float a, const float b) {
return a * b;
}
It's a proper program that you can copy. I do C++ since 1.5 years, it's 100% correct.
- 1
thank you timon
- 2
guys plzz give me the proper written programe so that i can just copy it
- 2
No problem ( :