Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

0
C++ do while loop not running again after turning character to uppercase
Post Body

    switch(idLen)
        {
            case 8 : managerPay();
                break;
            case 15 : factoryPay();
                break;
            case 11 : salesPay();
                break;
            case 12 : piecePay();
                break;
            default : cout << "Input error, enter Y at the next prompt to try again." << endl;
                break;
        }

        //Prompt pay clerk to see if they have another employee to enter information for
        cout << "Do you have another employee to enter information for? (Y for yes, N for no) " << endl; 
        cout << endl;
        cin >> letter;
        cin.ignore();
        putchar(toupper(letter));
    }while(letter == 'Y');        // DOESN'T RUN THE LOOP AGAIN IF YOU PUT 'Y'

Author
Account Strength
100%
Account Age
13 years
Verified Email
Yes
Verified Flair
No
Total Karma
9,214
Link Karma
2,190
Comment Karma
6,915
Profile updated: 6 days ago
Posts updated: 1 month ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
5 years ago