Write and test a C++ program to complete the following project. Input a whole number representing the initial count of bacteria in a lab culture.
    Write and test a C++ program to complete the following project. Input a whole number representing the initial count of bacteria in a lab culture.

Write and test a C++ program to complete the following project. Input a whole number representing the initial count of bacteria in a lab culture.

$10.00

Write and test a C++ program to complete the following project.
Input a whole number representing the initial count of bacteria in a lab culture.
Calculate the new count of bacteria for 10 consecutive days, using the following formula:
NewCount = OriginalCount * 2.0(DayNumber / 10.0)
Display the original bacteria count, annotated as “Day 0 count”.
Display a table showing the bacteria counts for 10 consecutive days. Include the day number and the bacteria count on each day.
For bonus credit: When displaying the results, create a string for each day in the output. Insert a
number of asterisks in the string, with each asterisk representing 1/10 of the original bacteria
count. Display the string alongside the day’s bacteria count.
For bonus credit: Save the bacteria growth counts to a text file named “bacteria.txt”. Extend the
time frame to 50 days when generating data for the file.

A++ solution for this question

Solution contain C++ program.

Attached Files

Move over [ preview ] file name to preview content in it!

Write a review

Your Name:


Your Review: Note: HTML is not translated!

Rating: Bad           Good

Enter the code in the box below:



Tags: C++
PURCHASE SAVE
2 Tutorials 10%
3 Tutorials 13%
4 Tutorials 16%
5 Tutorials 19%
6 Tutorials 22%
7 Tutorials 25%
8 Tutorials 28%
9 Tutorials 31%
10 Tutorials 34%
add url more

9MZQASHWN73B