Hey Guys i was wondering if anyone could lend me a hand for my homework. I really haven't got a clue.
"You have to write a program in C++ that computes the minimal and the maximal value of function f(x,y) obtained on an integer point in a given rectangle [a, b] x [c, d]. Your program should prompt the user to input numerical values of a, b, c and d, as floating point numbers, which are expected to be in a range from -100 thru 100. In case when minimal or maximal values do not exists, your program should output appropriate messages.
a=7, b=10, c=-5, d=10, f(x,y)=(1+x)*(1-y);"
That's my task.Please keep it simple, and thx a lot for the help.
Question
B8EN8
Hey Guys i was wondering if anyone could lend me a hand for my homework. I really haven't got a clue.
"You have to write a program in C++ that computes the minimal and the maximal value of function f(x,y) obtained on an integer point in a given rectangle [a, b] x [c, d]. Your program should prompt the user to input numerical values of a, b, c and d, as floating point numbers, which are expected to be in a range from -100 thru 100. In case when minimal or maximal values do not exists, your program should output appropriate messages.
a=7, b=10, c=-5, d=10, f(x,y)=(1+x)*(1-y);"
That's my task.Please keep it simple, and thx a lot for the help.
Link to comment
Share on other sites
4 answers to this question
Recommended Posts