I got it to work! Thanks for your help and baring with me!
Type: Posts; User: 07.350
I got it to work! Thanks for your help and baring with me!
When I type in String it doesn't recognize it as a string variable.
Would I define it was a char or string? That's what I'm confused about
Exception in thread "main" java.lang.Error: Unresolved compilation problems:
a cannot be resolved to a variable
Monthly cannot be resolved to a variable
Syntax error on token "Compounded",...
Sorry, it won't compile but the error is the method displayInterest(double,double, double, char,double) in the type InterestCalculator4 is not applicable for the arguments (double, double,double,...
I changed it to
/** display interest **/
public static void displayInterest(double numb1, double numb2, double numb3, char word1, double numb4, double numb5 ) {
numb5 = numb1 + numb4; ...
It won't compile it gives me an error at
System.out.println("+numb1", "+numb2", "numb3", "+word1", "+numb4", "+numb5");
saying the method...
Sorry!
Purpose: To display the result of the calculated interest to the user. Parameters: You will need to determine the number of parameters and their appropriate data type of each parameter to...
I'm trying to create a method for the display interest and I'm struggling with how to come up with how to get it to work. Any help would be great!
import java.util.Scanner;
public class...