Question: This is a C++ program. PART KEY COMBINATION You often have to enter a secret code or password to gain entrance to a restricted area

This is a C++ program.

This is a C++ program. PART KEY COMBINATION You often have toenter a secret code or password to gain entrance to a restrictedarea or to gain access to a computer network. In many casesthe password consists of a sequence of alphanumeric characters that must be

PART KEY COMBINATION You often have to enter a secret code or password to gain entrance to a restricted area or to gain access to a computer network. In many cases the password consists of a sequence of alphanumeric characters that must be entered in a specified order. In this exercise you create a program that "opens the door" to a restricted area when the user enters the correct two-character sequence. Step 1: Create a program that reads in characters until the user enters the correct two-character sequence (cs) to open the door Step 2: Step 3: Save your program as open aoor.cpp Test your program using the following test plan. If you discover mistakes in your program, correct them, and execute the test plan again Test Plan for opendoor Expected result Door opens Door opens Door opens Door closes Checked Test Case Legal entrance Hacker Sample data CS imacsmajor Two c's followed by ccs an S Not a valid sequence ab PART B HOT ENOUGH FOR YA? People who are originally from cities such as New York and St. Louis and who have moved to states such as Arizona and New Mexico often say that despite higher temperatures in these southwestern states, they experience less discomfort than they did in their place of origin. This discomfort is due in large part to the high rate of relative humidity in such cities as New York and St. Louis during the summer. A method for measuring the discomfort caused by humidity is the temperature-humidity index (THI) The formula for computing the THI is

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!