Search:

Type: Posts; User: silverpen10

Search: Search took 0.09 seconds.

  1. Replies
    22
    Views
    1,497

    Re: compile error

    i think cels method is pulling f as 0 not from the case 1
  2. Replies
    22
    Views
    1,497

    Re: compile error

    gottcha so i should do it in the other program

    --- Update ---

    if i put 55 in for fahrenheit i get 57.6 (it should be 12.7)


    public class prgmONE // Peter Krasinski
    {
    public static void...
  3. Replies
    22
    Views
    1,497

    Re: compile error

    nvm i did 5/9. your right i get 1.0
  4. Replies
    22
    Views
    1,497

    Re: compile error

    its 0 how do i change it
  5. Replies
    22
    Views
    1,497

    Re: compile error

    Its sill not returning the proper value


    public class prgmONE // Peter Krasinski
    {
    public static void main(String [] args)
    {
    double c = 0, f = 0;
    double c2 = cels(c, f);
    int which =...
  6. Replies
    22
    Views
    1,497

    Re: compile error

    new program


    public class prgmONE // Peter Krasinski
    {
    public static void main(String [] args)
    {
    int c = 0, f = 0;
    int c2 = cels(c, f);
    int which = Input.getInt("1 for Celsius, 2...
  7. Replies
    22
    Views
    1,497

    Re: compile error

    i got it to work
    new code


    public class prgmTWO
    {
    public static void main(String [] args)
    {
    double P = Input.getInt("How much have you deposited?");
    double i = Input.getInt("What is...
  8. Replies
    22
    Views
    1,497

    Re: compile error

    Last login: Mon Jan 7 11:11:36 on ttys000
    petes-MacBook-Air:~ pkrasinski$ cd java\ programs/
    petes-MacBook-Air:java programs pkrasinski$ javac prgmTWO.java
    prgmTWO.java:10: variable s might not...
  9. Replies
    22
    Views
    1,497

    Re: compile error

    heres the error1701
    sorry its small
  10. Replies
    22
    Views
    1,497

    Re: compile error

    input.class?
  11. Replies
    22
    Views
    1,497

    compile error

    i dont know whats wrong


    public class prgmTWO
    {
    public static void main(String [] args)
    {
    double P = Input.getInt("How much have you deposited?");
    double i = Input.getInt("What is...
Results 1 to 11 of 11