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?
-
LightWave Communications, Inc., spent $100 million expanding its fiber optic communication network between Chicago and Los Angeles during 2005. The fiber optic network was assumed to have a 10-year...
-
Thornton worked as a manager at a Connecticut retail store. In accordance with his religious beliefs, Thornton notified his manager that he could no longer work on Sundays as required by company...
-
Based upon PCAOB Release 2004-001, what are some strong indicators of material weakness in internal control over financial reporting?
-
Lafayette Film Center (LFC) is a not-for-profit theater that plays independent films. In addition to revenue from theater admissions, LFC relies on concession and caf sales, grants and other external...
-
Boise Bookstore is the bookstore on campus for students and faculty. The a (Click the icon to view the average price information.) bookstore shows the following sales projections in units by quarter...
-
Cheadle Company purchased a fleet of 20 delivery trucks for $8,000 each on January 2, 2019. It decided to use composite depreciation on a straight-line basis and calculated the depreciation from the...
-
The Diversified Portfolio Corporation provides investment advice to customers. A condensed income statement for the year ended December 31, 2018, appears below: Service revenue Operating expenses....
-
Annual average wind speed values over time measured for a residential area located at 27th latitude and 34th longitude are given in the Table. After checking the goodness-of-fit by Kolmogorov -...
-
The following information has been provided by Crosby Corporation: Direct Labor $6,100 Direct Materials Used 2,800 Direct Materials Purchased 6,000 Cost of Goods Manufactured 16,000 Ending...
-
" 1. The interest rate for a 3 years EUR 50,000 loan is r = (1.0 + q/5) %. r (%) Calculate the annual instalment and the total cost of finance for a fixed instalment plan. CF = (Rx) 2. The annual...
-
You throw a ball vertically upward from the roof of a tall building . The ball leaves your hand at a point even with the roof railing with an upward speed of 1 5 m / s the ball is then in free fall ....
-
6. Quality aspects in production: 20 A company produces the "Classic 2 Slice Toaster" and in the production it is observed that the number of defects recently have increased since they started...
-
Are there ways we can ensure that we are informed fully regarding a client's beliefs and values? Are there ways to prevent our opinions from influencing the questions we use to guide the conversation...
-
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...
-
Some of your classmates are boasting that they can make a killing by trading stocks over a short period of time.
-
Explain why corporations prefer to issue common stock to raise funds for their operations.
-
What are the trading techniques that are used by investors and speculators?
Study smarter with the SolutionInn App