Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 2013
    Posts
    1
    Rep Power
    0

    Default Java Homework Help Please!

    Hello there! I need some quick help please. I need to write two different java programs and I'm having a difficult time figuring them out. I tried referring to my school textbook but I still don't quite understand. Help is greatly appreciated!

    Java Program 1:
    Write an application that prompts the user to make a choice for a pizza size -S, M, L, or X -and then displays the price as $6.99, $8.99, $12.50, or $15.00, accordingly. Display an error message if the user enters an invalid pizza size. Save the file as PizzaChoice.java.

    Java Program 2:
    Create an application containing an array that stores 20 prices, such as $2.34, $7.89, $1.34, and so on. The application should (1) display the sum of all prices, (2) display all values less than $5.00, (3) calculate the average of the prices, and (4) display all values that are higher than the calculated average value. Save the file as Prices.java.


    If anyone can help, I will greatly appreciate it!!

  2. #2
    wsaryada is offline Senior Member
    Join Date
    Jun 2007
    Location
    Bali, Indonesia
    Posts
    757
    Rep Power
    8

    Default Re: Java Homework Help Please!

    In this forums we are not write code for you. But we do help if you have any problem with the code that you are trying to create. So please try to start your code. Ask a specific question where you get stuck.

Similar Threads

  1. Need HW help on java homework
    By sourlemons in forum New To Java
    Replies: 3
    Last Post: 10-16-2010, 05:44 AM
  2. Need help with my java homework.
    By nightrise420 in forum New To Java
    Replies: 6
    Last Post: 09-24-2010, 07:23 PM
  3. java homework help
    By jenniferrlie in forum New To Java
    Replies: 5
    Last Post: 09-22-2009, 08:12 PM
  4. Java homework please
    By Indulgence in forum New To Java
    Replies: 1
    Last Post: 11-03-2008, 02:48 AM
  5. LF: Homework help with Java
    By excurssion in forum New To Java
    Replies: 2
    Last Post: 10-17-2008, 06:00 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •