Question: Please help with how I would write these codes in C++ Problem 2: Create a process that counts how many guesses it takes a user
Please help with how I would write these codes in C++
Problem 2: Create a process that counts how many guesses it takes a user to guess a randomly generated whole number. With each guess, the user is told if his/her guess was too high or too low.
Problem 3: Write a process that will ask the user to enter a number then output a pattern consisting of users number of # in the first row, the users number -1 # in the second row, the users number -2 # in the third row, etc. until the last row contains 1 #.
For example if the user entered 8, the pattern would be
########
#######
######
#####
####
###
##
#
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
