How to find Highest and Lowest with 3 inputs in different control statements

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • iamhero00
    New Member
    • Aug 2014
    • 2

    #1

    How to find Highest and Lowest with 3 inputs in different control statements

    Hi, Im a college student and I have a minor subject which is programming though its not related on my course... my prof gave us a problem....can you help me?

    We will make it in Turbo C, C++ and VB.. but as of now (Turbo C and C++)

    This is the problem

    Make a program based on the given logic below
    a>b && a>c - a highest
    b>a && b>c - b highest
    c>a && c>b - c highest
    and will determined the lowest

    we will do this in different program control statements:
    1.If-Then-Else
    2.Multiple-If
    3.Nested-If
    4.Do Case
    5.Do While
    6.Do Until
    7.For Next
    8.Switch
    9.Break
    10.Loop

    is it possible?
  • weaknessforcats
    Recognized Expert Expert
    • Mar 2007
    • 9214

    #2
    I can certainly help you when you are stuck but I cannot do the assignment.

    Please read: http://bytes.com/faq.php?faq=posting...ask_a_question

    Comment

    Working...