TMA02

Q3a

Convert time in 24-hour format into 12-hour format.

My Solution

Solutions by Sze Min Na Chan Chi Ming

Q3b

Find the average of the largest four values in 5 inputs. (evaluateOCAS() function only)

My Solution

Solutions by Chan Chi Ming

Q3c

Implementation of a simple encryption and decryption algorithm. (decrypt() function only)

My Solution

Solutions by Chan Chi Ming

Q3d & Q3e

Extract and analyse data from a record file.

My Solution (graphic and textual presentations are both implemented)

Download data file and my executive file

Solutions by Sze Min Na Chan Chi Ming

Q4a

Using Euler's algorithm to calculate approximate value of Pi.

My Solution

Solutions by Sze Min Na Chan Chi Ming

Q4e

Rewrite the above program to enhance its accuracy.

My Solution

Solutions by Chan Chi Ming

 

Do you have anything want to say? Write here.

back