Alright I've almost got it, all I need to do now is define XRay as the password.
import java.util.Scanner;
public class Password{
public static void main(String[]...
Type: Posts; User: britton33
Alright I've almost got it, all I need to do now is define XRay as the password.
import java.util.Scanner;
public class Password{
public static void main(String[]...
How do you define XRay, I do not know how to put that code in or where exactly to put it. I don't understand the difference between a variable and a string.
I'm not sure how to do this or where to put it.
Think I'm making this way more difficult than it should be.
import java.util.Scanner;
public class Password{
public static void main(String[] args) {
Scanner kbReader = new Scanner(System.in);
...
import java.util.Scanner;
public class Password{
public static void main(String[] args) {
Scanner kbReader = new Scanner(System.in);
...
Nothing I'm doing is fixing it...still getting the same error.
I hate to sound completely ignorant but could you write an example code?
How do you define XRay or
how to you enclose it in "s".
Read those and changed code to:
import java.util.Scanner;
public class Password{
public static void main(String[] args) {
Scanner kbReader = new...
How would I write that? I'm new to boolean
This is what I'm getting. This is from the Blue Pelican java book online and since I didn't buy the answers, I have no way of checking to see what's wrong.
C:\myJava>javac Password.java...
Ahh, your awesome...Thats what I needed to know. I have one more simple question that I'm having a problem with.
import java.util.Scanner;
public class Password{
public static void...
If I take out case E, I get the same thing
I'm not getting this at all,
Add an extra CASE that will raise the inputted value to the inputted exponent, using Math.pow
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\myJava>javac Arithmetic.java
C:\myJava>java Arithmetic
Make your arithmetic selection from the choices...
No errors, I just guessed by putting in the Math.pow. Its not giving me anything when I run the program...acts like its not even there.
case 'E': // Math.pow
case 'e':...
I'm new to java and trying to be self taught which is proving more and more difficult.
This is the question,
Add an extra CASE that will raise the inputted value to the inputted exponent, using...