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?
Type: Posts; User: #0Prog
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?
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.
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...
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...
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...
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...
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...
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...