import java.io.InputStream;
import java.io.StringReader;
import java.util.Scanner;

public class Main {

public void(String[] args) throws IOException, InterruptedException { Scanner scanner = new Scanner(System.in);
System.out.print("Enter the first name of a contributor: ");

final String firstName = scanner.nextLine(); System.out.println("The maximum contribution received was " + firstName + ".");
System.out.println("The minimum contribution received was " + firstName + ".");
System.out.println("The average contribution amount was " + firstName + ".");
System.out.println("A total of $" + (Integer)contributions * 1000 * 1000 * 1000 * 1000 * 1000 * 1000 * 1000 * 1000 * 1000 * 1000 * 1); } }

Respuesta :

The error in the code is that "." was not declared as a variable.

What is Debugging?

This refers to the finding of errors in a code to help it to execute properly through either omission or addition of code.

Hence, we can see that the given code has the error of not declaring the "." as a variable and it is used in the print statement to make computations and this would result in an error code.

Read more about java programming here:

https://brainly.com/question/26642771

#SPJ1

ACCESS MORE
ACCESS MORE
ACCESS MORE
ACCESS MORE