Just looked at the next question and it says I need to display the answer I get from the question above (the one you helped me answer) as a % so basically for the code above if I did first number 25...
Type: Posts; User: boyjam2
Just looked at the next question and it says I need to display the answer I get from the question above (the one you helped me answer) as a % so basically for the code above if I did first number 25...
Yes I did, thanks!
You can close this thread and mark it as solved.
Thanks for the help, much appreciated.
Error:
Error: The operator / is undefined for the argument type(s) java.lang.String, java.lang.String
Is the new error after adding that.
System.out.println("The quotient of " + f + "...
Question (school):
Write a program that prompts for two numbers, then divides the first by the second. Write the answer in the form "<a> divided by <b> is <answer>."
My Code:
import...