In C++ Write a Program: Calculate Twitter Followers Marcelo started the week with 12000 Twitter followers. One
Fantastic news! We've Found the answer you've been seeking!
Question:
In C++
Transcribed Image Text:
Write a Program: Calculate Twitter Followers Marcelo started the week with 12000 Twitter followers. One of his tweets was retweeted by a news outlet, and he gained 35% more followers. Your job is to calculate and display how many followers he gained this week and how many total followers he has now. Your program should have the following: ● 3 comment lines (description of the program, author, and date). (1 point) Create a variable to store the starting number of followers. We will name this variable startingFollowers. Initialize the variable to 12000. (1 point) Create an equation that calculates the amount of new followers this week (use the starting Followers variable you made above in your calculation). Save the result of this equation in a variable named newFollowers. (2 points) Create an equation that calculates the total amount of followers (use both variables you created above in your calculation). Save the result of this equation in a variable named totalFollowers. (2 points) ● ● • Display the result (as shown below) using cout commands. Be sure to use your variables in your output instead of just typing numbers directly in the cout statements. (3 points) Marcelo started the week with 12000 followers. He gained 4200 followers this week. He ended the week with 16200 total followers. Write a Program: Calculate Twitter Followers Marcelo started the week with 12000 Twitter followers. One of his tweets was retweeted by a news outlet, and he gained 35% more followers. Your job is to calculate and display how many followers he gained this week and how many total followers he has now. Your program should have the following: ● 3 comment lines (description of the program, author, and date). (1 point) Create a variable to store the starting number of followers. We will name this variable startingFollowers. Initialize the variable to 12000. (1 point) Create an equation that calculates the amount of new followers this week (use the starting Followers variable you made above in your calculation). Save the result of this equation in a variable named newFollowers. (2 points) Create an equation that calculates the total amount of followers (use both variables you created above in your calculation). Save the result of this equation in a variable named totalFollowers. (2 points) ● ● • Display the result (as shown below) using cout commands. Be sure to use your variables in your output instead of just typing numbers directly in the cout statements. (3 points) Marcelo started the week with 12000 followers. He gained 4200 followers this week. He ended the week with 16200 total followers.
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 electrical engineering questions
-
In the following four models, C atoms are black, H atoms are light blue, O atoms are red, and N atoms are dark blue: a. Write the molecular formula of each molecule. b. Write the condensed structural...
-
In Exercises, a consumption matrix C and a demand vector d are given. In each case, find a feasible production vector x that satisfies Equation (2). a. b. 1/2 1/41 1/2 1/2 [0.1 0.4 0.3 0.2
-
In Exercise 1 and 2, let And Determine whether C is in span(A, B). 1. 2. 1 1 0 1 4 1 1 5
-
Why do we use the absolute value of x or of g(x) in the derivative formulas for the natural logarithm?
-
In the Using the Theory section, we calculated the present value of attending a private college, under the assumption that each years costs are paid at the end of the year. Recalculate the present...
-
A program for coding and decoding the first version of the run-length compression method.A program for coding and decoding the second version of the run-length compression method.
-
Spice Inc. issued bonds payable on December 31. Spice's bonds were dated July 31. Which statement is true of Spice's journal entry to record issuance of the bonds payable? a. Spice must pay one...
-
Explain how a sales order, a production order, a materials requisition form, and a labor time ticket are involved in producing and costing products?
-
Solve for if -9 + 5cos 0 = -4 and 0 < 0 < 2.
-
In Problem, use the graph of the function f shown to estimate the indicated limits and function values. (A) (B) (C) (D) f(-2) (E) is it possible to redefine f(-2) so that Explain. Figure for 17-2...
-
You are preparing the Income Statements for a) Carver Merchandiser and for b) Pembroke Manufacturer. You are working on the Cost of Goods Sold computation. Carver Merchandiser Beginning Inventory:...
-
What do we precisely mean when we refer to embedded systems? Discuss the numerous uses of the embedded system.
-
Use the atomic masses of each of the two isotopes of chlorine along with their respective percent abundances to calculate the average atomic mass of chlorine. Chlorine-35: atomic mass -34.969...
-
The following amounts were reported by Ivanhoe Ltd. in its most recent statement of financial position: 2024 2023 Cash and cash equivalents $59,128 $81,884 Accounts receivable (net) 180,496 120,965...
-
. Modify SiftDown to have the following specification. proc SiftDown (L, U) pre Heap (L+1, U) post Heap (L, U) What is the run time of the code? Show how it can be used to construct an N-element heap...
-
Provide TEV Analysis to consider the economic values of solar energy home technology. Use following facts for TEV calculation: Home uses 850 kWHr per month. Electricity currently costs $0.10 per kWhr...
-
Assumptions Market Demand: P-14- Que Duopoly: P-14-%(91 +92) Marginal Cost: MC-4 Two P-16-Q Groups: P-12- (HD high demand, LD-low demand] Capacity Constraint: 5/firm Incumbent/Entrant: P-14-Qr-ac...
-
After graduating from college and working a few years at a small technology firm. Preet scored a high-level job in the logistics department at Amex Corporation. Amex sells high-quality electronic...
-
Abigail (Abby) Boxer is a single mother working as a civilian accountant for the U.S. Army. Her Social Security number is 676-73-3311 and she lives at 3456 Alamo Way, San Antonio, TX 78249. Helen,...
-
Fisafolia Corporation has gross income from operations of $220,000 and operating expenses of $160,000 for 2012. The corporation also has $20,000 in dividends from publicly traded domestic...
-
Mallory Corporation has a calendar year-end. The corporation has paid estimated payments of $10,000 during 2012 but still owes an additional $5,000 for its 2012 tax year. a. When is the 2012 tax...
-
Find the response of a viscously damped system under the periodic force whose values are given in Problem 1.116. Assume that \(M_{t}\) denotes the value of the force in newtons at time \(t_{i}\)...
-
Find the displacement of the water tank shown in Fig. 4.43 (a) under the periodic force shown in Fig. 4.43 (b) by treating it as an undamped single-degree-of-freedom system. Use the numerical...
-
Fill in the Blank. The velocity response spectrum, determined from the acceleration spectrum, is known as the ___________ spectrum.
Study smarter with the SolutionInn App