Submitted Questions

  • Algorithm

    Create the flowchart and algorithm for a module that will prompt the user to enter their height in feet and inches (two separate input values). The program should output “Guard” if the user is under 6’4”, “Forward” if the user is between 6’4” and 6’10”, and “Center” is the user is over 6’10”.

    Nupur

    • Apr 25th, 2015

    1.declare variables ft and inch.
    2. Enter the values.
    3. Check for validity using case statement .
    4. Print on screen using dbms_output.put_line

  • Algorithm help

    Create the flowchart and algorithm for a module that will prompt the user to enter the amount of cash they have in their pocket. The program should output “Not Enough” ($0 - $0.64), “Vending Machine” ($0.65 - $1.99), “Fast Food” ($2.00 - $4.99), “Cafeteria” ($5.00 - $14.99) or “Steak House” ($15 and up) depending on what the user can afford for lunch.

    Jole

    • Jan 15th, 2015

    Create a basic CASE statement. Then for the diagram just have all the different options spidering out. Google other examples.