Answered step by step
Verified Expert Solution
Link Copied!

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++

image

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... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Income Tax Fundamentals 2013

Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill

31st Edition

1111972516, 978-1285586618, 1285586611, 978-1285613109, 978-1111972516

More Books

Students also viewed these Electrical Engineering questions

Question

=+e) State the hypotheses (in words, not symbols).

Answered: 1 week ago