COIT11222 Programming Fundamentals-Tax Variable
Declare a String object taxPayerName to store the tax payer’s name and use your inText Scanner object and the inbuilt method inText.nextLine(); The tax payer name is now stored in the String object taxPayerName.Hint: you can join variables and strings using the concatenation operator “Enter the income for “ + taxPayerName + “etc... “Create another Scanner object inNumber to read the tax payer’s income.Declare an integer variable to store the income and use your inNumber Scanner object and the inbuilt method inNumber.nextInt(); to read the number.Declare a double variable to represent the tax and declare a constant for tax rate 0.1 using the final keyword.
Answer:
First question is very easy and I didn’t faced any particular challenging factor in this program. It took about 3-4 hours for me to develop this code. I have taken following inputs as test cases
INPUT |
EXPECTED OUTPUT |
OUTPUT |
TEST |
Name : Sukhdeep Singh Sidhu |
The Tax that Sukhdeep Singh Sidhu has to pay is $18000.0 |
Tax that Sukhdeep Singh Sidhu has to pay is $18000.0 |
PASS |
Second question is also almost same as first question and Nested if-else was bit challenging in the start. It took about 7-8 hours for me to develop this code. I have taken following inputs as test cases
INPUT |
EXPECTED OUTPUT |
OUTPUT |
TEST |
Name : Sukhdeep Singh Sidhu |
The Tax that Sukhdeep Singh Sidhu has to pay is $54232.0 |
The Tax that Sukhdeep Singh Sidhu has to pay is $54232.0 |
|
Name : Simranjit Singh |
The Tax that Simranjit Singh has to pay is $19172.0 |
The Tax that Simranjit Singh has to pay is $19172.0 |
|
Name : Satnam Singh |
The Tax that Satnam Singh has to pay is $3192.0 |
The Tax that Satnam Singh has to pay is $3192.0 |
|
Third question use concept of second question with some additional feature of looping and calculation of the average. It took a day to develop this code. I have faced a problem for adding the tax values in total tax variable and in displaying the result with two decimal point values. I have taken following inputs as test cases.
INPUT |
EXPECTED OUTPUT |
OUTPUT |
TEST | ||||||||||||||
|
The average tax is $28267.00 |
The average tax is $28267.00 |
PASS PASS PASS PASS
PASS |
Fourth question use concept of third question with graphical representation. It took aroun day to develop this code. I have faced a problem in calling message dialog box and input dialog box. I have taken following inputs as test cases
INPUT |
EXPECTED OUTPUT |
OUTPUT |
TEST | ||||||||||||||||||
All inputs given using Input Dialog |
The Maximum tax is $54232.0 paid by Sukhdeep Singh Sidhu |
The Maximum tax is $54232.0 paid by Sukhdeep Singh Sidhu |
PASS PASS PASS PASS
PASS |
Buy COIT11222 Programming Fundamentals-Tax Variable Answers Online
Talk to our expert to get the help with COIT11222 Programming Fundamentals-Tax Variable Answers to complete your assessment on time and boost your grades now
The main aim/motive of the management assignment help services is to get connect with a greater number of students, and effectively help, and support them in getting completing their assignments the students also get find this a wonderful opportunity where they could effectively learn more about their topics, as the experts also have the best team members with them in which all the members effectively support each other to get complete their diploma assignments. They complete the assessments of the students in an appropriate manner and deliver them back to the students before the due date of the assignment so that the students could timely submit this, and can score higher marks. The experts of the assignment help services at urgenthomework.com are so much skilled, capable, talented, and experienced in their field of programming homework help writing assignments, so, for this, they can effectively write the best economics assignment help services.