I have a problem with this code ,can someone help.Thank you

Code:`#include <iostream>`

using namespace std;

void main()

{

int number= get_number();

int results=return_results();

}

int get_number()

{

int num;

int temp_num=0;

int temp_num_pos=0;

int temp_num_neg=0;

int count=1;

while (count<=10)

{

cout << "Enter a number" <<endl;

cin >> num ;

count++;

temp_num+=num;

if(num>0)temp_num_pos+=num;

if(num<0)temp_num_neg+=num;

}

}

int return_results()

{

int temp_num=0;

int temp_num_pos=0;

int temp_num_neg=0;

cout <<"The sum of positive numbers is" << temp_num_pos<< endl;

cout <<"The sum of negative numbers is" << temp_num_neg<< endl;

cout <<"The sum of all numbers is" << temp_num<< endl;

return 0;

}