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?
-
Home Depot, Inc. (HD) operates as a home improvement retailer primarily in the United States, Canada, and Mexico. The balance sheet for Home Depot, Inc. (HD) for February 3, 2008, included the...
-
Figure shows a cross section of an infinite conducting sheet carrying a current per unit x length of ; the current emerges perpendicularly out of the page.? (a) Use the Biot-Savart law and symmetry...
-
Defendant Monty J. Person began working for Garage Solutions, LLC, in March 2015. Three months into his employment, Person was sent by the owner of Garage Solutions, Mark Fontenot, to Rexburg, Idaho,...
-
Rehab Health Care, LLC, incurred the following service-related activity costs for the month: Total sales ................$42,000 Customer complaint processing ....... 1,200 Employee training...
-
A firm selling a normal good has a price elasticity of demand coefficient of 3.0 and an income elasticity of demand coefficient of 2.2. Assume that economists forecast a recession within the next...
-
Bruce also requires a calculation of taxable income for the most recent year ended December 31, 2019. The calculation should be prepared in Excel. He has also requested that you prepare the year-end...
-
Sketch the following function and fully label your sketch with roots and intercepts. f(x) = 2(x + 1)(x 3) -
-
Read the Ten Principles of the United Nations Global Compact (https://openstax.org/l/53UNcompact) urging corporations to develop a "principled approach to doing business." The principles cover human...
-
Because of recent technological breakthroughs in your company's main product, the selling price has increased and the accountants have increased the value of the company's inventory. 3. The...
-
Explain where on the MHC molecule CD4 and CD8 bind during interactions between T-cell receptors and MHC molecules.
-
Research a multinational company and determine its anti-discrimination policy and how they enforce it.?
-
Which federal law has established three (3) important time periods in the filing of shares to public shareholders?
-
ABC Fund has 10 million shares outstanding. The fund's portfolio is now valued at $800 million and the fund owes $50 million to fund advisors and $10 million for rent and wages. What is the net...
-
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...
-
A newspaper recently lowered its price from $5.00 to $3.00. As it did, the number of newspapers sold increased from 240,000 to 280,000. a. What was the newspapers elasticity of demand? b. Given that...
-
Suppose average movie ticket prices are $8.50 and attendance is 1.2 billion. The price of tickets rises to $9.50 and attendance rises to 1.4 billion. a. What happened to total revenue? b. If you were...
-
Which of the following producers would you expect to support a tax on beer? Which would not? Explain your answer. a. Producers of hard liquor. Cross-price elasticity with beer: 0.11. b. Producers of...
Study smarter with the SolutionInn App