Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

WITH PICTURES PLEASE Q1- In the 2 dimensional plane, a point is described by its two coordinates x and y. It has the following operations:

WITH PICTURES PLEASE

Q1- In the 2 dimensional plane, a point is described by its two coordinates x

and y. It has the following operations:

A constructor allowing initialization of both coordinates

2- Accessors and Mutators methods to its coordinates

3-Translation of a point

Write a java class, called Point that corresponds to the definition of a point in the 2D plane.

Q2- Write pseudocode to calculate the income tax payable on any salary based on the tax scales shown below. The taxable salary is to be entered and the tax payable calculated.

Salary

Tax

1-7000 SAR

No Tax

7000 10000 SAR

100 SAR + 20% of salary

10000 SAR and over

200 SAR + 25% of salary

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Development For Dummies

Authors: Allen G. Taylor

1st Edition

978-0764507526

More Books

Students also viewed these Databases questions

Question

Ty e2y Evaluate the integral dy

Answered: 1 week ago