Write a reverse digit method or function that takes an


Assignment 1: Develop (using C++ or Java language) the application described below.

Write a Reverse Digit method or function that takes an integer as a parameter and returns the number with its digits reversed. For example, the value of Reverse Digit (12345) is 54321. Also, write a program (main function) to test your method.

Assignment 2: Develop (using C++ or Java programming language) the application described below.

A point in the x-y plane is represented by its x-coordinate and y-coordinate. Design the Class Point that can store and process a point in the x-y plane. You should then perform operations on a point, such as showing the point, setting the coordinates of the point, printing the coordinates of the point, returning the x-coordinate, and returning the y-coordinate. Also, write a test program to test various operations on a point.

Solution Preview :

Prepared by a verified Expert
Business Management: Write a reverse digit method or function that takes an
Reference No:- TGS02179324

Now Priced at $20 (50% Discount)

Recommended (92%)

Rated (4.4/5)