Would this be considered as a Subrountine problem? My program runs but I feel like it is missing something else.
#include <iostream>
using namespace std;
void getData(int, int, int);
int main()
{
int x,y,z;
cout << "Please enter first number: ";
cin >> x;
cout << "Please enter second number: ";
cin >> y;
z = x * y;
cout << "Answer is " << z;
cout << "\n\nPlease enter first number: ";
cin >> z;
z = z+5.0;
cout << "\nAnswer is: " << z;
return 0;
}