Question

In: Computer Science

can someone please complete this for me? losing my mind Assignment Overview The Case Assignment in...

can someone please complete this for me? losing my mind

Assignment Overview

The Case Assignment in Module 2 will accomplish three tasks:

  • Demonstrate how to use pseudo code to help programming.
  • Use Scanner class to get user input from a keyboard (allow user interaction).
  • Demonstrate how to use class and objects (OOP concepts).

Case Assignment

Write a java program to help you calculate property tax. The program will perform the following tasks:

  1. Prompt the user to enter the property value of the house.
  2. Prompt the users for the property tax rate.
  3. Display the result.

Your task:

  1. Write pseudo code based on your analysis.
  2. Write a Java application program based on your pseudo code.

Solutions

Expert Solution

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 :)


Related Solutions

Can someone please tell me if these calculations are correct! I'm reviewing my notes, and my...
Can someone please tell me if these calculations are correct! I'm reviewing my notes, and my professor said to always multiply the lipids by 3 and then divide by 7 to get the total amount of cals of lipids per day... I'm not completely sure why you do that? Can someone explain. Why don't you just stop at 700 cals for lipids? 1. Calculate the number of calories and grams protein for the following TPN solution: D50W in 500cc 10%...
please, can someone give me a rationale, onjectives, programs and budget for my project proposal. It...
please, can someone give me a rationale, onjectives, programs and budget for my project proposal. It is a scholarship program for medical students who pass the online examination. Please answer it as soon as possible.
Can someone please assist me with this assignment? Do an economic analysis of two giant competitor...
Can someone please assist me with this assignment? Do an economic analysis of two giant competitor brands, Coke and Pepsi, in the context of them being rivals in the "Twenty-First Century" and use all the knowledge you have gathered over the last several weeks. Please do not make it a financial case.  It is to be an economics case study, utilizing the economic model of pure competition, monopolistic competition, oligopoly or monopoly. Use the most recent sources to make it more...
Molecular, Complete Ionic, and Net Ionic Equations Can someone help me with the complete and net...
Molecular, Complete Ionic, and Net Ionic Equations Can someone help me with the complete and net equations in regards to Fe(NO3)3 + HCI Fe(NO3)3 + Na2SO4 Fe(NO3)3 + Na2SO4 + NaC2H3O2 Pb(NO3)2 + KSCN Pb(NO3)2 + HCI Pb(NO3)2 + Na2SO4 Pb(NO3)2 + Na2SO4 + NaC2H3O2 Ba(NO3)2 + KSCN Ba(NO3)2 + HCI Ba(NO3)2 + Na2SO4 Ba(NO3)2 + Na2SO4 + NaC2H3O2 Thank you!
Hi, please could someone be of assistance with this assignment for me. Thank you The objective...
Hi, please could someone be of assistance with this assignment for me. Thank you The objective of this assignment is to practice the use of control objects in GUI design. You are required to create a 4- function calculator. See pic below. Calculator.png The calculator should have buttons for all 10 numbers, the decimal point, the four operations (+,-,/,*), an equal “=” button, a "main display" (TextBox or RichTextBot), a backspace button and a clear “C” button. When you create...
Hi there Can someone tell me. If someone file a case against you and you dont...
Hi there Can someone tell me. If someone file a case against you and you dont have money to fight against it. Then what person should do in that situation.? If someone file a sexual harassment case?
I have to complete a template for pathophysiology , can someone tell me the pathophysiology of...
I have to complete a template for pathophysiology , can someone tell me the pathophysiology of pain. This is for a pathophysiology class
Can someone please assist me with this question. The information that I found was not of...
Can someone please assist me with this question. The information that I found was not of help. Discuss how using systems thinking will influence your decision-making. I have to do a full paragraph on this question.
Can someone please show me how to do the work on this please. Question The transactions...
Can someone please show me how to do the work on this please. Question The transactions of the Fury Delivery Service are recorded in the general journal below. Instructions: 1. Post the journal entries to the attached general ledger “T” accounts. 2. Prepare a trial balance on the form provided after the “T” accounts. General Journal Date Account Titles and Explanation Debit Credit 2017 Sept. 1 Cash Common Stock (Stockholders invested cash in business) 25,000 25,000 4 Equipment Cash Notes...
can someone finish and check my code on main. cpp? Its not working for me even...
can someone finish and check my code on main. cpp? Its not working for me even though im sure my code make sense is it possible to output each function to show they work. this is supposed to be a vector class library made from allocated memory i have included templated functions in the class file to help create the rest of the functions. Thank you so much note: i did not include main.cpp because it  was empty- im hoping someone...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT