thanks all for the help :)
Type: Posts; User: JavaN00b101
thanks all for the help :)
is it ok if i initialized it by writing:
String square = ("");
im a noob so i dont really know how
i didn't try to change it, i originally had it. thanks for the help
i declared shape as a String, got rid of unnecessary code, and change the Scanner method. but there is still an error. the code now looks like this:
import static java.lang.System.out;
import...
i got rid of unnecessary variables and declared shape as a string and changed the scanner method. the code now looks like this:
import static java.lang.System.out;
import java.util.Scanner;...
thanks so much
i wanna change it but i dont know wat i need to change
i mean what do i need to change in my code so that when i input a shape, i won't get a user input mismatch error
hey all,
i have a program which asks the user to input the shape they want to know the area and perimeter of.
i have all the code done but i don't know how to define the variable so that it can...
thank. do you know what i need to change so that i can input "square"?
hey all,
i was writing a program which allows users to input either a square, circle or rectangle, and depending on the input, the program would go on to get the area and perimeter of that shape....
do u know how i could use the number of the current month i get to subtract it from one the user inputs? i tried some things but i cant figure it out
thanks for that
hey all,
does anyone know if there is some code which gets the current month in number form?
not its name
thanks
Thanks for this, i really appreciate it.
I understood most of it, but as i keep learning i will get the rest.
Thanks, JavaN00b101
Hi all,
i was wondering if anyone could help me with a problem that i had.
System.out.println("Firstly, please input the current date in yyyy/mm/dd.");
CurrentYear = myScanner.nextDouble()
...
Hi all,
i just started using java and jcreator etc. and i am basically a noob, so all help will be greatly appreciated. :D
I am delighted to join Java Programming Forums.
JavaN00b101