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
Type: Posts; User: Imreallyawesome
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
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?
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...
whats the uh idk what to call it for integer its .nextInt what is the double version
would dividing them then rounding them round down? could i just do that?
thanks for the info but i cant do fractional fishes so how can i get around that
ok i changed it i hope that helped please help me figure out the problem
im going to change how i posted it to make it more clear or at least try to sorry this is my first post
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...
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...
i use BlueJ btw my school used it in teaching it has a built in compiler much faster then command prompt
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...
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
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
import java.util.*;
import java.io.*;
import java.lang.*;
public class Tester
{
public static void main(String Args[])
{
Scanner KbReader = new Scanner(System.in);
...