Professional Documents
Culture Documents
Name:
Matric No:
(8 marks)
doublebuy_currency(int,double);
The first parameter is for the type of currency where the numbers 1, 2, 3 would be used to represent the Dollar,
Euro and GBP respectively.
The second parameter would be the amount of money to be exchanged.
The function would return the amount of Malaysian Ringgit.
Noth/quiz4csc425
(3 marks)
(6 marks)
(4 marks)
Frequency
8
13
Tip/HintVoid main()
{
Noth/quiz4csc425
(3 marks)