How can I solve this problem. I've tried my very best but I can't

#include<iostream.h>
#include<iomanip.h>

int hours=3, hh, mm;

void firstorder();
void firstserve();
int main(){

    int time;

    cout<<"The first customer arrived at "<<firstorder<<endl;
    cout<<"The first customer was served at "<<firstserve<<endl;


return 0;
}


int firstorder(int){

    int mint;

    hh= mint/ 60;
    mm= 0   %60;

    cout<<hours<<":"<<setw(2)<<setfill('0')<<mm<<'\n';

    return mm;
}

int firstserve(int){

    int mint;

    hh= mint/ 60;
    mm= 2   % 60;

    cout<<hours<<":"<<setw(2)<<setfill('0')<<mm<<'\n';

    return mm;
}

Firstly, please use code tags [code] //code goes here [/code]

Your function definitions (down below) don't match your prototypes at all.

Also, take a look at your assignment and figure out what your functions are supposed to do (you have an uninitialized variable which you divide by a constant, etc., it's not right). No one will do this for you, but we can't even begin to help you if we don't have any idea what your objective is.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.