void biggest_number() {
    float first_input;
    float big_num;
    float input;
    cout <<"\n You've chosen to Find out The Biggest Number. Type in number to compare\nType 0 if you want to stop the function.\nFirst number : ";
    cin >> first_input;
    first_input = big_num;
    //cout << first_input;
    while (1) {
        cin >> input;
        if (big_num < input) {
            input = big_num;
        }
        else if (input == 0) {
            cout << big_num;
            break;
        }
        else{
        }
    };
};
So I've written a function to find the biggest number. But whatever I put as an input, big_num always comes out as 0.
I've tried to use cout <<first_input << big_num; in order to find out where the function doesn't work. You can see from the comment. That part doesn't work and I couldn't figure out why.
 
     
     
     
     
    