Write a program called storied that: (15 points) a. In a comment on the first line...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Write a program called storied that: (15 points) a. In a comment on the first line gives your full name (first and last). b. Asks the user for a series of inputs: i. A first name. ii. An animal. iii. A pet name. iv. A verb. v. An object. vi. An adverb. vii. A psychological condition. viii. An emotion. ix. An exclamation. Ⓒ c. If any of what was inputted was left blank by the user, tells the user that, to punish them for their insolence, the program will stop now. The program then stops running. d. Otherwise, the program prints out (all on one line, using placeholders) the following two-sentence story: i. [First Name] told their [animal], [petname], to [verb] the [object] [adverb] as a way to overcome their [psychological condition]. When they tried it, [petname] felt [emotion] and shouted "[exclamation]!" Write a program called storied that: (15 points) a. In a comment on the first line gives your full name (first and last). b. Asks the user for a series of inputs: i. A first name. ii. An animal. iii. A pet name. iv. A verb. v. An object. vi. An adverb. vii. A psychological condition. viii. An emotion. ix. An exclamation. Ⓒ c. If any of what was inputted was left blank by the user, tells the user that, to punish them for their insolence, the program will stop now. The program then stops running. d. Otherwise, the program prints out (all on one line, using placeholders) the following two-sentence story: i. [First Name] told their [animal], [petname], to [verb] the [object] [adverb] as a way to overcome their [psychological condition]. When they tried it, [petname] felt [emotion] and shouted "[exclamation]!"
Expert Answer:
Related Book For
Income Tax Fundamentals 2013
ISBN: 9781285586618
31st Edition
Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill
Posted Date:
Students also viewed these programming questions
-
Flint Inc. issued $ 1 , 0 6 0 , 0 0 0 of 1 0 % , 1 0 - year bonds on June 3 0 , 2 0 2 5 , for $ 9 3 8 , 4 1 4 . This price provided a yield of 1 2 % on the bonds. Interest is payable semiannually on...
-
Write a program called ezstart.py that: a. In a comment on the first line gives your full name (first and last). b. Creates a string variable called myname that's equal to your name. c. Creates an...
-
Name Kally Yanes Company Name Fiscal Years Used: Current Year 2023 Walmart Inc. (WMT) Ratios (a) Indicate the following ratios for the last TWO fiscal years and indicate whether the trend is...
-
In Problems 1158, perform the indicated operation, and write each expression in the standard form a + bi. i 7 (1 + i 2 )
-
Two rods are connected by a collar at B. . A couple MA of magnitude 12 lb ft is applied to rod AB. Knowing that s = 0.30 between the collar and rod AB, determine the largest couple MC for which...
-
Given the unity feedback system of Figure P6.3 with a. Find the range of K for stability. b. Find the frequency of oscillation when the system is marginally stable. Ks(s + 2) (s2 4s + 8)(s + 3) G(s)...
-
If the probability is 0.90 that a new machine will produce 40 or more chairs, find the probabilities that among 16 such machines (a) 12 will produce 40 or more chairs; (b) at least 10 will produce 40...
-
Determine which shipping alternative would be most economical to ship 80 boxes of parts when each box has a price of $ 200 and holding costs are 30 percent of price, given this shipping information:...
-
GeneralProducts, Inc. was incorporated in Nevada on January 1, 2019, to take over a local retail chain and to supply goods to customers at the most competitive prices, both in stores and online. To...
-
Hildreth Company uses a job order cost system. The following data summarize the operations related to production for April 2014, the first month of operations: a. Materials purchased on account, $...
-
From Pozar, ex. 8.3: Design a maximally flat low-pass filter with a cutoff frequency of 2 GHz, impedance of 50 Ohm (i.e. Rs-RL= 50 Ohm), and at least 15 dB insertion loss at 3 GHz. Compute and plot...
-
Taking in consideration the 2009 events that changed access to most debt market activity, the low interest rate environment that followed encouraging companies to borrow, and the rush to raise...
-
A firm uses 20% Debt and 80% Equity in its capital structure. Beta for the equity of the firm in this regard is 1.5. If the same firm increases its Debt financing to 80%, consider these questions:...
-
You currently have $63,000,000 in a stock portfolio with a beta of 1.20. Expecting stocks to do very poorly over the next three months, you decide to REDUCE your beta to 0.80. There exists a futures...
-
Prepare a list of any 10 taxable benefits in Income taxes Does your workplace provide you with these benefits? If yes, name those Do you think benefits received from company should not be taxed?...
-
Assume a property with NOI of $2,000,000. Comparable properties are selling at cap rates of 6.25%. The bank will lend up to 75% of value. Assuming you obtain the loan, the terms are 4.75%, monthly...
-
A thin-walled cylindrical tank of diameter d = 0.5 m and wall thickness t = 5 mm is fabricated of a material with 250 MPa tensile yield strength. Determine the internal pressure p (MPa) required...
-
When the Department of Homeland Security created a color-coded system to prepare government officials and the public against terrorist attacks, what did it do right and what did it do wrong?
-
Ulysses and Penelope are married and file separate returns for 2012. Penelope itemizes her deductions on her return. Ulysses' adjusted gross income was $17,400, his itemized deductions were $2,250,...
-
Ann hires a nanny to watch her two children while she works at a local hospital. She pays the 19-year-old nanny $125 per week for 48 weeks during the current year. a. What is the employer's portion...
-
In 2012, Michael has net short-term capital losses of $2,000, a net long-term capital loss of $45,000, and other ordinary taxable income of $45,000. a. Calculate the amount of Michael's deduction for...
-
a. Suppose that General Hospital has a current ratio of 0.5. Which of the following actions would improve (increase) this ratio? Use cash to pay off current liabilities. Collect some of the current...
-
What is the role of internal control in an organization?
-
What are the elements and principles of the COSO framework?
Study smarter with the SolutionInn App