Search:

Type: Posts; User: #0Prog

Search: Search took 0.08 seconds.

  1. Replies
    1
    Views
    742

    Printing out to two decimal places

    3375

    Hi, the code in the picture needs to print out to two decimal places, but I cant get it to perform this action, does anyone know the syntax for this?
  2. Replies
    3
    Views
    885

    Re: How to exit while loop

    Hi, I think you misunderstood the question, if the user says no "n" the JohnLegendMenu method should be called, any ideas on how to achieve this? thanks for the useful advice on comparing strings.
  3. Replies
    3
    Views
    885

    How to exit while loop

    Hi guys this is an assignment which was assigned to me for my programming class. The code below asks the user what type of concert tickets they would like to buy once they select a option it say...
  4. Thread: Unsure

    by #0Prog
    Replies
    2
    Views
    1,300

    Unsure

    Hi guys just wanted to know what the following represents or means in java

    %.2f

    I used it in a program I wrote and still have no idea what it actually means, the code looks like this
    import...
  5. Replies
    3
    Views
    2,136

    JOPtionPane error

    Hi guys im trying to make a JOption box that asks a user to input his/her name and display it back to them but keeping getting the following compile error: Cannot find symbol...
  6. Replies
    3
    Views
    1,158

    Re: Months of the year []

    Hi thanks for the advice, I am new to this and still learning a lot. the code now looks like this

    public class Calender
    {
    public static void main(String args[])
    {
    Scanner sc = new...
  7. Replies
    3
    Views
    1,870

    Months of the year

    I've been asked to develop a simple program for my Java class which asks the user to input a number and based on the users response the corresponding month of the year should appear. This has to be...
  8. Replies
    3
    Views
    1,158

    Months of the year []

    I have been assigned a tutorial for my java class which requires me to write a simple program(compiled and launched via CMD) which asks the user to input a number and based on the users input, the...
Results 1 to 8 of 8