lol yeah im dumb. thanks dude =1 to u.
Type: Posts; User: Tctwins
lol yeah im dumb. thanks dude =1 to u.
Can anybody help me with this?
please i just need a guide on how to make the user input a number and have it go to the correct if statements.
please this syntex needs to be solved
please i wanna summit this quick
//there is my code, all of it is correct accept i want the user to enter a random age and not have int set at 21. how can I make it so when i run the application the user enters their age and it will...
my errors.
C:\Users\Andrea\Documents\lukey.java:34: error: ')' expected
}else if (testscore >12 and <20) {
^
C:\Users\Andrea\Documents\lukey.java:34: error: not a...
I just wanna input a number value have have the output line up to the correct statement of age.
import javax.swing.*;
class lukey {
public static void main(String[] args) {
that gave me more errors
//How can I assign those "if" statements so i can use >12 and <20?
//How can i get rid of the inttestscore so that i isnt not a constant. I want the user to put a "AGE" and have the following...
im lost..bad. I just wanna be able to enter a number and have that number go to the correct statement. if you could guide me out a little bit it would be a better learning process.
This still isnt right but im on the right track I need it to work like that. how do i enter a value and have it come out in GUI with the right message?
import javax.swing.*;
public class L4_SimpleCalc
{
public static void main (String[] args)
{
JOptionPane.showMessageDialog(null, "The Old Man says:");
//Read in a value
String...
//This is my code so far. I'm suppose to have the user enter this:
user enters a int between <= 12 then would display this message Howdy youngster
user enters a int between >12 and <20 then...