#include <iostream>
using namespace std;

struct AccountData {
	int consult;
	int minutes;
	double rate;
	double result;
	double payment;
};
AccountData makeAccount(int consult, int minutes, double rate, double result, double payment)
{
	return AccountData({consult, minutes, rate, result, payment});
}
void high_procedure(AccountData *thisAccount)
{
	cout << "do something with the account, like printing out \"payment \""
	     << thisAccount->payment
	     << "\n";
}
void low_procedure(AccountData *thisAccount)
{
	thisAccount->payment+=1.0;
	cout << "do something with the account, like adding 1 to \"payment \""
	     << "\n";
}
int main() {
	AccountData account1 = makeAccount(1,2,3,4,5);
	high_procedure(&account1);
	low_procedure(&account1);
	high_procedure(&account1);
	
	AccountData account2 = makeAccount(10,20,30,40,50);
	high_procedure(&account2);
	low_procedure(&account2);
	high_procedure(&account2);
	// your code goes here
	return 0;
}