Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

I need to create a basic java code with some methods for this problem. I just am

ID: 3648655 • Letter: I

Question

I need to create a basic java code with some methods for this problem. I just am not getting it.

"a county collects property taxes on the assessment value of property, which is 60 percent of the propertys actual value. For example, if an acre of land is valued at $ 10,000, its assessment value os $6000. The property tax is then .64 cent for each $ 100 of the assessment value. THe tax for acre assessed at $ 6000 will be $38.40. Design a modular program that asks for the actual value of a piece of property and displays the assessment value and property tax."

Thank You

Explanation / Answer

Here is the code for you. If you need any further refinement, just get back to me.

import java.io.*;
import java.util.*;
class PropertyTaxCalc
{
public static double getAssessmentValue(double documentValue)   //Calculates the Assessment Value, given the actual value.
{
return documentValue *0.6;
}
public static double getPropertyTax(double assessmentValue)   //Calculates the Property Tax, given the assessment value.
{
return assessmentValue * 0.0064;
}
public static double getDocumentValue()   //Reads a value from user, and returns.
{
Scanner sc = new Scanner(System.in);
double value = sc.nextDouble();
return value;
}
public static void main(String[] args)
{
System.out.print("Enter the actual value of the property: ");
double actualValue = getDocumentValue();
double assessmentValue = getAssessmentValue(actualValue);
double taxAmount = getPropertyTax(assessmentValue);
System.out.printf("Given Value $%.2f, Assessment Value $%.2f, Property Tax $%.2f ", actualValue, assessmentValue, taxAmount);
}
}

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote