Welcome to the Java Programming Forums

The professional, friendly Java community. 21,500 members and growing!

The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: Writing Java programme

  1. #1
    Junior Member
    Join Date
    Apr 2014
    My Mood
    Thanked 0 Times in 0 Posts

    Default Writing Java programme

    Hi Guys

    I have a Java program that I really need help with.

    I Need to write a programme which asks the user to input the size of a packet of French fries she would like to purchase, and based on the size, it will tell her a price. the info is as follows :

    1 - small - R6.50
    2 - medium - R10.50
    3 - large - R15.00

    the user should also be able to type in the number 1, 2 or 3 in order to select the size. Also ensure that you instruct the user to do so in your text input dialog box

    I would really appreciate if someone could help.

  2. #2
    Super Moderator
    Join Date
    Jun 2013
    So. Maryland, USA
    My Mood
    Thanked 698 Times in 680 Posts

    Default Re: Writing Java programme

    Welcome to the forum! Please read this topic to learn how to post code in code or highlight tags and other useful info for new members.

    We can't do it for you. We can help you with your code if you ask specific questions, post errors you need help with, etc.

    Good luck!

Similar Threads

  1. Java Average Speed Programme
    By newbie13 in forum What's Wrong With My Code?
    Replies: 1
    Last Post: October 1st, 2013, 06:10 PM
  2. Java programme design help
    By dulitul in forum What's Wrong With My Code?
    Replies: 7
    Last Post: September 29th, 2013, 06:06 PM
  3. Java programme to colour in a grid
    By why_always_me in forum Java Theory & Questions
    Replies: 20
    Last Post: March 29th, 2012, 06:09 AM
  4. How to call a java programme from an applet?
    By prativa in forum Java Applets
    Replies: 2
    Last Post: December 19th, 2011, 11:01 AM
  5. Java jar programme with a microcontroller
    By bczm8703 in forum File I/O & Other I/O Streams
    Replies: 3
    Last Post: September 11th, 2011, 08:01 AM