Answered step by step
Verified Expert Solution
Question
1 Approved Answer
In C++ Write a Program: Calculate Twitter Followers Marcelo started the week with 12000 Twitter followers. One of his tweets was retweeted by a news
In C++
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.
Step by Step Solution
★★★★★
3.59 Rating (152 Votes )
There are 3 Steps involved in it
Step: 1
C program to calc...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started