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% (4 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
-
Many commercial companies offer computer software packages to build financial planning models. Managing complex operations can be very difficult without effective computer software. Selecting among...
-
What are the benefits of the Smarter Planet initiative to (a) society and (b) IBM?
-
Member AB is supported at B by a cable and at A by a smooth fixed square rod which fits loosely through the square hole of the collar. If F = {20i ? 40j ? 75k}, determine the x, y, z components of...
-
There are two parts to the stakeholder register (stakeholder identification and management) you used in PMBOK group assessment (Assessment 2). Explain the relevance of each part to your PMBOK group...
-
How do the percentile method and the pivotal method for computing bootstrapping confidence intervals compare? Choose one or more answers: a. The width of the percentile confidence interval and the...
-
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
-
It is June 25, 2013. The futures price for the June 2013 bond futures contract is 118-23. a. Calculate the conversion factor for a bond maturing on January 1, 2026, paying a coupon of 10%. b....
-
1. The interest rate charged on a loan of $85,000 is 7.75% compounded annually. If the loan is to be paid off over seven years, calculate the size of the annual payments. 2. A $10,000 debt is repaid...
-
Referring to the NISSAN Navara 5L SE M/T, which is using Nissan YD25 engine, provide your analysis to the following questions: A. What will be the maximum power produced by this vehicle at the...
-
Convert each pair of rectangular coordinates to polar coordinates where r> 0 and 0 <2.
-
Please type your answers and submit them on Blackboard by the due time. AAA corp. had the following PP&E values on Dec. 31, 2018. Cost $ 100 Accumulated Depreciation $ 20 Undiscounted Future Cash...
-
Compute the standard deviation"sigma symbol"for ages of British nurses in 1851. Assume that the table below shows the age distribution of nurses in Great Britain in 1851. Round your answer to nearest...
-
Matthew (48 at year-end) develops cutting-edge technology for SV Inc., located in Silicon Valley. In 2020, Matthew participates in SVs money purchase pension plan (a defined contribution plan) and in...
-
Consider the setup in Problem 16. Show that the relative speed of the ball and the point of contact on the stick is the same before and immediately after the collision. (This result is analogous to...
-
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...
-
thumbs up if correct A stock paying no dividends is priced at $154. Over the next 3-months you expect the stock torpeither be up 10% or down 10%. The risk-free rate is 1% per annum compounded...
-
Question 17 2 pts Activities between affiliated entities, such as a company and its management, must be disclosed in the financial statements of a corporation as O significant relationships O segment...
-
Marchetti Company, a U.S.-based importer of wines and spirits, placed an order with a French supplier for 1,000 cases of wine at a price of 200 euros per case. The total purchase price is 200,000...
Study smarter with the SolutionInn App