Here are the codes that I have learned from Youtube, but after I run it, it is blank on the small screen:
#include <iostream>
#include <cmath>
using namespace std;
int getMin(int num1, int num2) {
int answer;
if (num1 < num2) {
answer = num1;
} else {
answer = num2;
}
return answer;
}
int main() {
getMin(3,5);
return 0;
}