questionwrite down a program which asks user to


Question

Write down a program which asks user to respond to a question by entering either 1 for yes or 2 for no. Use a While loop to continue prompting user until a valid answer is entered. Upon entering a valid response, program should show an appropriate message to the user. 3-7. King of Hill. Write down a program that reads in a list of positive integers from user until the user enters value -1 as a sentinel. At that time program have to display the largest value in the input listing.

 

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: questionwrite down a program which asks user to
Reference No:- TGS0443934

Expected delivery within 24 Hours