(1)Using the switch, case, · · · , otherwise control structure, write a MATLAB program for calculating individual taxes
Q: (b who have reserved a red boat. ) Find the names and ages of sailors (c) have reserved a red and a…
A: b) Πsname,Πage,(σcolor='red'(Sailors ⨝ Reserves ⨝ Boats))
Q: COMPUTE FOR THE FOLLOWING: Gross Pay = no. of hours worked rate per hour (if no. hours is 8 hours or…
A: The program is written in C++. Please find the source code in step 2.
Q: Branching Statements on Tax Problems My Sc In 2009, individual citizens and residents of Australia…
A: The above code is solved in Matlab below:
Q: A triangle ABC is given. The coordinates of A,B,C are given as A(3,4) B(6,4) C(4,8). find reflected…
A: Actually, given information regarding triangle...
Q: QUESTION The shelf life of the following vegetables and fruits can be extended using the packing…
A: clear all close all %function for amount of bacteria for given G f=@(t,G) 1000.*10.^(t./(3.3.*G));…
Q: uppose the university has decided to announce bonus 1 PMS point to employees those have PMS points…
A: Use 2 arrays one to store UID and one to store PMS points Input UID and PMS for all the employees…
Q: Suppose the university has decided to announce bonus 1 PMS point to employees those have PMS points…
A: Given: The university has decided to announce bonus 1 PMS point to employees who have PMS points…
Q: Suppose the university has decided to announce bonus 1 PMS point to employees those have PMS points…
A: Introduction: By using list multiple items stored in a single variable. For eg mylist = ["basu",…
Q: Horizontal sequence :VIRL Vertical sequence:MKF Scoring rules: g/o = -3, g/e = -1, match or…
A: Answer: I have given answered in the handwritten format
Q: Table (A) shows the individual incom assessment year 2020. If Open with Table (A): Income tax rates…
A: Objective: This program asks the chargeable amount from the user and computes the tax on the basis…
Q: Vertical sequence:MKF Scoring rules: g/o = -3, g/e = -1, match or mismatch - from PAM250…
A: 1.
Q: During the tax season, every Friday, the J&J accounting firm provides assistance to people who…
A: Required: Write a program that prompts the user to enter yearly income, the hourly rate, the total…
Q: Experiential students who are at least 21 years old and have completed at least three years of…
A: To discuss the formula used in excel to assess if Kay Colbert is eligible to serve as a mentor based…
Q: nction in VBA of the equation of exponential curve fitting of The Annual Revenues of Singapore Post…
A: the solution is an given below :
Q: 1. In the second semester of the 3rd year Rahim found that his CGPA is really not up to the standard…
A: Include the required headers in the answer program. Declare the main function in the program.…
Q: - `bsal` = beginning salary (annual salary at time of hire) - `sal77` = annual salary in 1977 -…
A: Logging helps in debugging the complete issue in case of wrong analysis result.
Q: Barb and Jim run a business that sets up and tests computers. Assume that Barb and Jim can switch…
A: Barb take 48 minutes to set up a computer To test a computer barb take= Computer tested/40 hours=…
Q: A common year in the modern Gregorian Calendar consists of 365 days. In reality, Earth takes longer…
A: Q: Detect Error in program.
Q: Vandelay Industries has 275 sales reps in order to sell its latex products, each to be assigned to…
A: '''Declre number of reps'''n=275;''' According to the given statements we can conclude eqution…
Q: Q4: The following table: All the following table shows the frequency distribution. The monthly…
A: GIVEN:
Q: ind the names of all employees who earn more than every employee of Small Bank Corporation. 8.…
A: I have answered QUERRY Below:
Q: The standard deviation measures the spread of the data about the mean value. It is useful in…
A: #include <iostream> using namespace std; int main(){ int…
Q: Question 3 The VO2Max score of an athletic reflects the physical fitness of an individual. It is the…
A: Program Explanation: Program begin.Declare and initialize variables age, gender and HRrest.Take…
Q: A matrix for rugby results shows the number of conversions, drop goals and penalties for three teams…
A: Question given: A matrix of size (3,3) stores number of conversion, drop goals and penalty by 3…
Q: c++ Interest on a credit card’s unpaid balance is calculated using the average daily balance.…
A: Coded using C++.
Q: corporate profits sum The sales purchases experses profit 4% tax I profit all compares) 1000 5000…
A: 1) =MIN (F3:F7)
Q: Question 31 A survey on pollution has been conducted on four cities. The degree of pollution is…
A: Given Data, City city1 city2 city3 city4 xi1: not…
Q: • The following table (Training Dataset D) shows the midterm and final exam grades obtained for…
A: Note: As you have asked a multipart question, as per our policy, we will solve the first three parts…
Q: Give an example of a column A and a column B such that B is functionally dependent on A. Give an…
A: A table in the database consists of rows and columns. The dependency of the row and column is based…
Q: R programming 8. The associated R function is dlnorm(x, meanlog = 0, sdlog = 1) is for ________…
A: Question 8. The associated R function is dlnorm(x, meanlog = 0, sdlog = 1) is for ________…
Q: The Land Transportation Franchising and Regulatory Board wanted to implement a new jeepney fare…
A: Conditional statement: A conditional statement is "IF-ELSE" statements that are used to check a…
Q: Using C. This question deals with processing the semi-annual sales for a drug store. The drug store…
A: Source Code in C++ #include <iostream>#include <string>#include <limits> using…
Q: 5. Consider the following formula for body mass index (BMI) weight height BMI - × 703 BMI Weight…
A: import java.util.Scanner; public class Main{ public static void calcBMI() { Scanner…
Q: Let a DFA M = (Q, E, 8, q,, F) as shown in below figure. a, b 4. a,
A: Given data:-
Q: estion 7 of 20 : ect the best answer for the question. Use the remainder theorem to determine the…
A: Here in this question we have given two expression and we have asked to apply remainder theorem and…
Q: CSE 173 class contains 18 male students and 12 female students. Find the number n of ways that the…
A: Class contains 18 male students and 12 female students = 30 total students. The number of n ways…
Q: The following table shows a utility company's cost to supply a fixed amount of power to a new…
A: The Answer is
Q: employees, their hourly pay rates, gross deduction of income tax just use 20%) for each employee.…
A: Code in C++ - #include<bits/stdc++.h>using namespace std; int main(){ // create a nested…
Q: Horizontal sequence :VIRL Vertical sequence:MKF Scoring rules: g/o = -3, g/e = -1, match or…
A: Given: The Horizontal Sequence is: VIRL The Vertical Sequence is: MKF The objective is to complete…
Q: r mismatch - from PAM250 su
A: The matrix is given as,
Q: Consider the following list of Xi , Yi values: Xi , Yi 1 2 2 4 3 6 Using the…
A: (Summation Yi )2 =( Y1 + Y2 + ....)2 Summation of Yi2 = Y12 + y22 + ....
Q: viation to describe a collection of numbers. The e average value of the numbers and the standa…
A: Lets see the solution.
Taxable income (NAD*) | Tax on column 1 (NAD) | Tax on excess (%) | |
Over (column 1) | Not over | ||
0 | 50,000 | 0 | 0 |
50,000 | 100,000 | 0 | 18 |
100,000 | 300,000 | 9,000 | 25 |
300,000 | 500,000 | 59,000 | 28 |
500,000 | 800,000 | 115,000 | 30 |
800,000 | 1,500,000 | 205,000 | 32 |
1,500,000 | 429,000 | 37 |
(1)Using the switch, case, · · · , otherwise control structure, write a MATLAB program
for calculating individual taxes
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 1 images
- Table (A): Income tax rates assessment year 2020 Chargeable Income (101) Calculation (RM) Rate % 'lax (101) 0 — 5,000 On the First 5,000 0 0 5,001 — 20,000 On the First 5,000Next 15,000 0150 20,001 — 35,000 On the First 20,000Next 15,000 150450 35,001 — 50,000 On the First 35,000Next 15,000 8 6001,200 Write a complete C program to prompt the user to enter the total chargeable income (RM), and then calculate the tax based on the calculation given in Table (A). Requirements: - Apply one return value function, include parameter list if necessary - Apply one non-return value function, include parameter list if necessary - If user enter chargeable income that is out of range (refer to Table (A)), display an error message and ask user to re-enter the chargeable income. - Repeat the program for 3 times.Table (A) shows the individual income tax rates for assessment year 2020. Table (A): Income tax rates assessment year 2020 Chargeable Income (RM) 0- 5,000 Calculation (RM) On the First 5,000 On the First 5,000 Next 15,000 On the First 20,000 Rate % Таx (RM) 5,001 – 20,000 1 150 150 20,001 – 35,000 3 Next 15,000 450 On the First 35,000 Next 15,000 600 35,001 – 50,000 8 1,200 Write a complete C program to prompt the user to enter the total chargeable income (RM), and then calculate the tax based on the calculation given in Table (A). For example: Prem's chargeable income = RM30,000 (RM20,000 + RM10,000) Total tax = RM150 (for first RM20,000) + RM300 (3% x RM10,000) = RM450 The program will then display the result which is the total amount tax needed to be paid in Ringgit Malaysia (RM), up to three significant digits after the decimal point. Requirements: Apply one return value function, include parameter list if necessary - Apply one non-return value function, include parameter list if…Note: “breadth” is a boolean indicating whether or not a course satisfies the breadth requirement for degrees in the Faculty of Arts and Science. Student(sID, surName, firstName, campus, email, cgpa) Course(dept, cNum, name, breadth) Offering(oID, dept, cNum, term, instructor) Took(sID, oID, grade) answer queries for them Department and cNum of all courses that have been taught in every term when csc448 was taught? Name of all students who have taken, at some point, every course Gries has taught (but not necessarily taken them from Gries).? Department and course number of courses that have never been offered?
- Question 1 included for referenceSheet1 Sheet2 Sheet3 A В C D F K TABLE FOR EMPLOYEE SALARY 4 EMP ID EMP NAME TOTAL SALARY TAX1 TAX2 NET SALARY notes 1 TAYSEER 850 tax1 = 10% from total salary 6. 2 SARA 450 7 3 SAMAH 700 tax2= 5% from total salary if its =700 8. 4 МОНАММAD 350 9. 5 KHALED 1200 10 6 ALI 1000 11 SAMI 670 12 13 MAXIMUM NET SALARY 14 MINIMUM NET SALARY 15 insert a chart between EMP NAME and NET SALARY SUM OF THE NET SALARIES 16 AVERAGE OF THE NET SALARIES 17 SUM OF THE TOTAL SALARIES 18 10 2 3Table EMP Column name Column type Integer Up to 10 characters Example entry EMPNO ENAME Description Employee ID number Employee surname 7369 SMITH Integer Integer Employee's job title No ID no. of employee's JOBNO 10 MGR 7566 manager HIREDATE Date 17/12/1980 Date employment started Monthly salary SAL Integer 1600 Table JOB Column name Column type Integer Up to 15 characters Example entry Description job title No Employee's job title JOBNO 10 JOB TITLE SALESMAN a) Write SQL statements to create EMP and JOB tables. Define appropriate data types and check constraints for the tables' fields. Write SQL statements to populate these tables with 3 rows of sample data.
- credits Q3: Normalize the following table, given 1NF, 2NF and BCNF: Module Dept Lecturer Texts M1 D1 L1 T1,T2 M2 D1 L1 T1,T3 M3 D1 L2 T4 M4 D2 L3 T1,T5 M5 D2 L4 T6Computer Science python Create a pivot table to show the number of permits by borough in your assigned period with marginal totals. Use all categorieTable name: ADVISORS ADVISORID ADVISORNAME A102 Sami A103 Alice A104 Suad A105 Tamil A101 Arun Table name: DEPARTMENTS DEPTID DEPTNAME D102 ELC D101 IT D103 BSD D104 ENG Table name: STUDENTS STUDENTID STUDENTNAME DOB GENDER ALLOWANCE DEPTID ADVISORID STUDENTLEVEL AGE Hisham 6/1/1999 Male 90 D102 S103 A102 Level 1 22 12/30/1994 Female 45 D103 S102 Sara A104 Diploma 27 S101 Salim 6/1/1999 Male 45 | D103 A104 Diploma 22 5107 Khalil 5/6/1995 Male 45 D101 A101 Blech 26 45 | D104 Advanced Diploma S109 Said 10/15/1992 Male A101 29 5/1/1995 Male 45 D101 90 D104 5100 Ahmad BTech Advanced Diploma A103 26 4/5/1998 Male 2/23/1992 Female 9/12/1999 Female S104 Faisal A101 23 0 D102 45 D102 S105 Fatima 90 A102 Level 2 29 S106 Arwa A102 Level 3 22 S108 Ibtisam 8/13/1991 Female 90 D103 A104 Diploma 30 Write the SQL statement for the following: 1. Using the ON clause, display the advisor name and student name for all students in the BTech level 2. Display the student name, gender and department name of…
- Table below shows the number of students enrolled in public university for the study field of Science, Mathematics & Computing by programme level and year. Programme Level Year Number of Students Diploma 2019 17373 Bachelor 2019 51640 Master 2019 6918 Doctorate 2019 6292 Diploma 2018 15987 Bachelor 2018 51128 Master 2018 7200 Doctorate 2018 6331 Diploma 2017 15236 Bachelor 2017 49970 Master 2017 6985 Doctorate 2017 648 i) Based on the above table, using the number of students as the key value, draw a Binary Search Tree to store the data.ID FIRST LAST SOCIAL DATE OF SALARY DEP BRUNCH NAME NAME STATUS BIRTH NO NO 021 MAI ALHARBI MARRIED 29/1/2001 7000 002 003 033 SALEH ALDOSSARI SINGLE 7/4/2001 10000 023 006 087 AHMED ALAHMAD MARRIED 23/2/1980 17000 025 002 normalize this table to 3NFCASE BACKGROUND Levi Landon owns a small lawn care business with three employees. He owns the lawn mowers, rakes, and weed whackers that are housed in a storage area at the back of his home. He currently keeps his records in a spiral-bound book. He has a page for his list of customers, and their information including when he first started to do their garden, and the size of their lawns. He has another section to keep track of payments. Levi usually requires payment on completion of the service, but this rarely happens and he has lost track of who owes him and how much. Levi realizes that he is not as efficient as he could be in his record keeping and asks you to help him to track customer service dates, payments and lawn care revenue. He may want to get a loan to purchase some more equipment. He provides you with his book of customers, and payments and prices of the various lawn sizes. To help Levi with the reporting requirements, you need to work with Customer, Payment, and Prices…