In this C++ project user is asked to choose a number between 1- 10 and computer generates its own number and if number matches then user guesses correct answer else wrong.
This quiz game built in C++ displays few questions to user who is playing this game and on the basis of performance score is incremented and at the end gives total score.
We know that the string supports functions for comparing and swapping strings. In this tutorial we, will learn how to compare and swap strings in c++