Create a flowchart or pseudo code that shows the logic for a program that generates a random number then asks the user to think of a number between 1 and 10. Then display the randomly generated number so the user can see whether his or her guess was accurate.