, COS1511 ASSIGNMENT 2
CODE AND OUTPUT
SOLUTIONS
DUE DATE: 2024 MAY 13
QUESTION 1
I) void check(int number,float pointNumber);
II) float mult(float n1,float n2);
III) void time(int &seconds,int &minutes,int &hours);
IV) int countChar(string word,char c);
CODE AND OUTPUT
SOLUTIONS
DUE DATE: 2024 MAY 13
QUESTION 1
I) void check(int number,float pointNumber);
II) float mult(float n1,float n2);
III) void time(int &seconds,int &minutes,int &hours);
IV) int countChar(string word,char c);