Use the code shown in Figure 6-33 to answer What will the code in Figure 6-33 display
Question:
Use the code shown in Figure 6-33 to answer
What will the code in Figure 6-33 display when the id variable contains the character 9?
a. Janet
b. Jerry
c. Mark
d. Sue
Transcribed Image Text:
if (id -- '8') cout <« "Janet"; '2' || id cout << "Mark"; (.6. else if (id = '9') else if (id '7') cout <« "Jerry"; else cout <« "Sue"; //end if Figure 6-33
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Answer rating: 100% (3 reviews)
Answered By
Chiranjib Thakur
I have no tutoring experience yet, but I can share my skills and knowledge gained from my education and work experiences. I have been a CPA since 2012 with 6 years of work experience in internal auditing and 4 years of work experience in accounting at the supervisory level.
5.00+
1+ Reviews
10+ Question Solved
Related Book For
Microsoft Visual C# An Introduction to Object-Oriented Programming
ISBN: 978-1337102100
7th edition
Authors: Joyce Farrell
Question Posted:
Students also viewed these Computer science questions
-
Use the code shown in Figure 6-34 to answer What will the code in Figure 6-34 display when the id variable contains the number 2? a. Janet b. Jerry c. Mark d. Sue switch (id) { case 8: cout < <...
-
Use the code shown in Figure 6-32 to answer > number; cout" style="" class="fr-fic fr-dib"> If the user enters the number 90, what value will be in the number variable after the selection structure...
-
Use the code shown in Figure 6-32 to answer > number; cout" style="" class="fr-fic fr-dib"> If the user enters the number 1000, what value will be in the number variable after the selection structure...
-
Consider the pistoncylinder assembly containing a pure gas shown below. The initial volume of the gas is 0.05 m3, the initial pressure is 1 bar, and the cross-sectional area of the piston is 0.1 m2....
-
Show that For n ¥ r ¥ 1. Cnr-1
-
Hansen Industries reported the following results for 20x6. REQUIRED: Calculate the industry volume variance and market share variance for the year. Hansen Industries Budget Actual Industry Volume...
-
Explain medical staff organization and committee structure.
-
At the end of Hotai Department Stores fiscal year on December 31, 2020, these accounts appeared in its adjusted trial balance. Freight-In ..........................................................NT$...
-
David has borrowed $600 from the bank. The bank is charging him an interest of 18.39% compounded monthly. David would like to pay back the entire loan with a single payment 3 years from today. How...
-
Ms. Winnie Lins company sells computers. Monthly sales for a six-month period are as follows: __________________ Month Sales __________________________ Jan 18,000 Feb 22,000 Mar 16,000 Apr 18,000 May...
-
Use the code shown in Figure 6-33 to answer What will the code in Figure 6-33 display when the id variable contains the character 9? a. Janet b. Jerry c. Mark d. Sue if (id -- '8') cout
-
Use the code shown in Figure 6-33 to answer What will the code in Figure 6-33 display when the id variable contains the character 7? a. Janet b. Jerry c. Mark d. Sue if (id -- '8') cout
-
Describe how business-to-business marketers build and maintain relationships with customers.
-
Consider the following cash flow profile: What is the present worth equivalent for the cash flow series with an interest rate of 12 percent? EOY Cash Flow EOY Cash Flow EOY Cash Flow 0 -$50,000 3...
-
Suppose Humphrey and Matilda live together. Humphrey currently smokes 20 packs of cigarettes per month; Matilda hates the smoke. They currently have no agreement restricting smoking. Their only joint...
-
Go to https://hbr.org/2003/02/why-bad-projects-are-sohard- to-kill and read the perspective on the difficulty in killing bad projects. What are some of the critical stories or pieces of advice...
-
Access www.fastcompany.com/magazine/87/projectmanagement.html. What suggestions does the author offer for managing the pressures to multitask? The author suggests the need to multiproject. What is...
-
Use the six approaches from Example 2.10 to determine to the nearest year how long it takes for an investment to double if the interest is compounded annually at the following rates: a. 5 percent b....
-
Fusters, Inc., provides audited financial statements to its creditors and is required to maintain certain covenants based on its debt to equity ratio and return on assets. In addition, management of...
-
a) Show that (a, b) := {{a}, {b}} does not satisfy the ordered pair axiom. b) Determine whether each of the following statements is true or false. (Give a reason in each case): (i) {a, b} C (a, b)....
-
Create an application containing an array that stores eight integers. The application should call five methods that in turn (1) Display all the integers, (2) Display all the integers in reverse...
-
Magic 8 Ball is a toy developed in the 1950s and used for fortune-telling or advice-seeking. A player asks or thinks of a yes-or-no question such as, Will I be rich someday? The player then turns the...
-
a. Write an application that accepts up to 20 Strings, or fewer if the user enters a terminating value. Store each String in one of two listsone list for short Strings that are 10 characters or fewer...
-
The bonds of Venture Ltd . has 8 years remaining to maturity. Its annual coupon rate is 6 % with a face value of $ 1 , 0 0 0 . The prevailing market interest rate is 8 % . The interest is paid semi -...
-
Convert the following C functions into ARMv8 assembly language. Again, comment each line of assembly code on what it does. Note that local variables should be kept in function's stack frame. 1)...
-
What are the four main types of financial services?Which type of financial services will help you accomplish your short, intermediate, and long-term goals?For example, I use savings financial...
Study smarter with the SolutionInn App