Search:

Type: Posts; User: Imreallyawesome

Search: Search took 0.11 seconds.

  1. Replies
    3
    Views
    1,043

    Re: printing factors with 2 classes

    thanks for the code but i do not want it to print 1 and itself can you change that or no?
  2. Replies
    3
    Views
    1,043

    printing factors with 2 classes

    hi, i have a school project that asks for 2 classes to print factors of a number using 2 methods nextFactor and hasMoreFactors it does not specify if they are supposed to be void or not so... so far...
  3. Re: i like to play this game with my phone and i wanted to make a program to help me

    o wow i put it backwards it all works now, woohoo! thanks for the help tho it was very kind of you to deal with me lol
  4. Re: i like to play this game with my phone and i wanted to make a program to help me

    ok i figured out where the problem is but the error doesnt make sense i do that the money you have / the cost of the fish but none of the responses make sense could you look please?
  5. Re: i like to play this game with my phone and i wanted to make a program to help me

    alright i switched the ints for doubles and now instead of making the profit 0 if i cant afford the fish it made it 0 for levels even if i have the required level any ideas? it still gave me the...
  6. Re: i like to play this game with my phone and i wanted to make a program to help me

    whats the uh idk what to call it for integer its .nextInt what is the double version
  7. Re: i like to play this game with my phone and i wanted to make a program to help me

    would dividing them then rounding them round down? could i just do that?
  8. Re: i like to play this game with my phone and i wanted to make a program to help me

    thanks for the info but i cant do fractional fishes so how can i get around that
  9. Re: i like to play this game with my phone and i wanted to make a program to help me

    ok i changed it i hope that helped please help me figure out the problem
  10. Re: i like to play this game with my phone and i wanted to make a program to help me

    im going to change how i posted it to make it more clear or at least try to sorry this is my first post
  11. Re: i like to play this game with my phone and i wanted to make a program to help me

    ok the program should have said "Your best choice is bandedbutterfly for $#### a day"
    or maybe even "Your best choice is greensnpper for $#### a day"
    each fish makes different profit over different...
  12. Re: i like to play this game with my phone and i wanted to make a program to help me

    well i cant afford the that fish and it should be probably banded butterfly's thats what i wanted to use this for to figure out which would be the best according to how much i have and how much...
  13. Re: i like to play this game with my phone and i wanted to make a program to help me

    i use BlueJ btw my school used it in teaching it has a built in compiler much faster then command prompt
  14. Re: i like to play this game with my phone and i wanted to make a program to help me

    when i execute i get this

    Hello I(Aaron James Rasmussen) have made this program to help with your cost/time/profit deals
    How much money do you have?
    30000
    What is the maximum number of...
  15. Re: i like to play this game with my phone and i wanted to make a program to help me

    i edited it so its easierish lol sorry that it looks like huge texts blocks i really want this to work it would help me alot
  16. Re: i like to play this game with my phone and i wanted to make a program to help me

    im not showing them off i coulden't get it to work it gives me wrong answers for the right type and the how much profit
  17. i like to play this game with my phone and i wanted to make a program to help me

    import java.util.*;
    import java.io.*;
    import java.lang.*;
    public class Tester
    {
    public static void main(String Args[])
    {
    Scanner KbReader = new Scanner(System.in);
    ...
Results 1 to 17 of 17