#Shopping Math question
1 messages · Page 1 of 1 (latest)
<@&987246883653156906> please have a look, thanks.
read the warnings 🙂
@grim kiln and please, don't ignore them
show the error
oh yes
like I said before, don't ignore the warnings
you didn't pass the value to print
so my value was too little so it couldnt print
no
it couldn't print your value
because you din't ask it to print your value
so i have to say system.out.println?
no
or how could i do it because iam new to java
you have to give it what you want to print
System.out.printf("You have %2f leva left");
how does it know which value to print ?
@grim kiln
the float number the price?
how does it know that it needs to print that ?
ohh ya i have to put it down i just remebered bro thanks