User Profile
Collapse
-
i think it would also mess up the equations because the int and double types won't multiply out. -
If I changed my int to a double, I would be losing percision wouldn't I? Could casting the int as a double work? What would this look like, and where should it go if this is the solution?Leave a comment:
-
NEED HELP ASAP: logical if statement?
I have been working on this simple project for a week, and come to the point where I feel like I need outside help. For the life of me I can't figure out what is wrong with this "sellIceCream(. ..)" method. I think theres something wrong with my if statement, because even if i have enough "ingredient s", it still prints my "not enough" statement instead of selling.
The error that the online tester for this...
No activity results to display
Show More
Leave a comment: