In: Computer Science
can someone please complete this for me? losing my mind
Assignment Overview
The Case Assignment in Module 2 will accomplish three tasks:
Case Assignment
Write a java program to help you calculate property tax. The program will perform the following tasks:
Your task:
Ans:- How pseudo code help in programming:-
The pseudo code is tell about program or algorithm in detail so programmer can easily understand what he need to develop and its step by step process of the program so, pseudo code is helpful in implement the loops and functions of the program.
/**********************Property.java*******************/
import java.util.Scanner;
public class Property {
public static void main(String[] args) {
Scanner scan = new
Scanner(System.in);
System.out.print("Enter the
property value of the house: ");
double value =
scan.nextDouble();
System.out.print("Enter property
tax rate: ");
double taxRate =
scan.nextDouble();
double taxAmount =
value*taxRate/100;
System.out.println("Tax amount on
property is: "+taxAmount);
scan.close();
}
}
/*******************output*****************/
Enter the property value of the house: 10000
Enter property tax rate: 10
Tax amount on property is: 1000.0
Pseudo code
begin
Enter property value as propertyValue
Enter tax rate as taxRate
set taxAmount = propertyValue*taxRate/100
print "Tax on property is ",taxAmount
End
Please let me know if you have any doubt or modify the answer, Thanks :)