Thread: Advices about the approach ?

  1. #1
    Registered User
    Join Date
    Nov 2008

    Advices about the approach ?

    I have problem understanding this task, that i have for examen:

    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.

    Thanks previously

    !!!I don't want that somebody make it the code for me, just to advice me what i should do...

  2. #2
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Can you find the minimum and maximum in a simple list of values? It's not really different from that.
    All the buzzt!

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Unsure on how to approach this concurrency problem
    By osiris^ in forum C# Programming
    Replies: 3
    Last Post: 04-29-2008, 11:47 PM
  2. Best Approach for Learning
    By UCnLA in forum C Programming
    Replies: 5
    Last Post: 03-21-2008, 02:35 AM
  3. Best approach
    By DV64h in forum Networking/Device Communication
    Replies: 6
    Last Post: 12-10-2006, 03:24 PM
  4. Object oriented approach in C.
    By arunj in forum C Programming
    Replies: 3
    Last Post: 04-19-2006, 02:22 AM
  5. software development approach...
    By dkt in forum A Brief History of
    Replies: 6
    Last Post: 10-16-2001, 09:15 PM