Search:

Type: Posts; User: britton33

Search: Search took 0.68 seconds.

  1. Thread: Math.pow

    by britton33
    Replies
    30
    Views
    1,424

    Re: Math.pow

    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[]...
  2. Thread: Math.pow

    by britton33
    Replies
    30
    Views
    1,424

    Re: Math.pow

    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.
  3. Thread: Math.pow

    by britton33
    Replies
    30
    Views
    1,424

    Re: Math.pow

    I'm not sure how to do this or where to put it.
  4. Thread: Math.pow

    by britton33
    Replies
    30
    Views
    1,424

    Re: Math.pow

    Think I'm making this way more difficult than it should be.
  5. Thread: Math.pow

    by britton33
    Replies
    30
    Views
    1,424

    Re: Math.pow

    import java.util.Scanner;

    public class Password{
    public static void main(String[] args) {

    Scanner kbReader = new Scanner(System.in);
    ...
  6. Thread: Math.pow

    by britton33
    Replies
    30
    Views
    1,424

    Re: Math.pow

    import java.util.Scanner;

    public class Password{
    public static void main(String[] args) {

    Scanner kbReader = new Scanner(System.in);
    ...
  7. Thread: Math.pow

    by britton33
    Replies
    30
    Views
    1,424

    Re: Math.pow

    Nothing I'm doing is fixing it...still getting the same error.
  8. Thread: Math.pow

    by britton33
    Replies
    30
    Views
    1,424

    Re: Math.pow

    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".
  9. Thread: Math.pow

    by britton33
    Replies
    30
    Views
    1,424

    Re: Math.pow

    Read those and changed code to:



    import java.util.Scanner;

    public class Password{
    public static void main(String[] args) {

    Scanner kbReader = new...
  10. Thread: Math.pow

    by britton33
    Replies
    30
    Views
    1,424

    Re: Math.pow

    How would I write that? I'm new to boolean
  11. Thread: Math.pow

    by britton33
    Replies
    30
    Views
    1,424

    Re: Math.pow

    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...
  12. Thread: Math.pow

    by britton33
    Replies
    30
    Views
    1,424

    Re: Math.pow

    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...
  13. Thread: Math.pow

    by britton33
    Replies
    30
    Views
    1,424

    Re: Math.pow

    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
  14. Thread: Math.pow

    by britton33
    Replies
    30
    Views
    1,424

    Re: 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...
  15. Thread: Math.pow

    by britton33
    Replies
    30
    Views
    1,424

    Re: Math.pow

    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':...
  16. Thread: Math.pow

    by britton33
    Replies
    30
    Views
    1,424

    Math.pow

    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...
Results 1 to 16 of 16