So here is my problem... I need to turn 24 hour notation into 12 hour notation, for example 14 34 into 2 34, but when my function runs I am just getting out exactly what I put in...

Here is my code:

If anyone can see anything wrong, it would help me out a lot! Thanks!Code:#include <iostream> void get_input(int& hour, int& minute); int time(int& hour, int& minute); void give_output(int& hour, int& minute); void introduction(); int main() { int hour, minute; introduction(); get_input(hour, minute); time(hour, minute); give_output(hour, minute); return 0; } void introduction() { using namespace std; cout << "This program ...\n"; } void get_input(int& hour, int& minute) { using namespace std; cout << "Please enter a time (ex. xx xx)"; cin >> hour >> minute; } int time(int& hour, int& minute) { if(hour > 12) return ( hour - 12 ); else return 0; } void give_output(int& hour, int& minute) { using namespace std; cout << "Your time written in 12 hour notation is: " << hour << " " << minute << endl; }