Answered step by step
Verified Expert Solution
Question
1 Approved Answer
please code this in c++ format using basic coding skills like looping. like what a freshman college student would do Program 12 Guessing Game Guessing
please code this in c++ format using basic coding skills like looping. like what a freshman college student would do
Program 12 "Guessing Game" Guessing Game Player 1: "I'm thinking of a number between 1 and 100." Player 2: "ls it 50?" Player 1: "Too high." Player 2: "ls it 25?" Player 1:Too high." Player 2: "Is it 1?" Player 1: "Too low." Player 2: "ls it 16?" Player 1: "Correct, it took you 4 tries to guess my number." Assignment: Write a C++ program that will 1. ask the user to enter two integers 2. the computer will then randomly select an integer between these two numbers (inclusive) 3. the computer will then ask the user to guess the number it has selected if the user's guess is not correct, the computer should indicate if the guess was too high or too low if the user's guess is correct the computer should report that the guess is correct and the number of tries it took to get the right answer Extra Credit No Extra Credit for this problem. Note: You must clearly label the extra credit output with the following makers Start Extra Credit*Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started