
Thien D. answered 07/05/22
Recent Georgia Tech Graduate
Well your chart would first prompt the user, then with the input, use a series of conditionals based on its last digit to add the two letter ending. Below is a code for how the algorithm can be made in C++. Use the comments to construct your Flow Chart. Based on the last digit, only a last digit of 1, 2, and 3 will warrant a different ending than "th" so we make if statements for those and the overall else statement will output "th".