Question: The assignment is to create a program that adds the number 2 0 0 to itself 5 0 0 times in three different variables (

The assignment is to create a program that adds the number 200 to itself 500 times in three different
variables (a byte, a short, and to an int). You are to output the three values on a single line every 10th
time to a *.txt file (your program should place your name and the assignment number at the top of this
output file). At the top out your program have comments with your name, the assignment number, and
a brief description of the program. Also make certain to have comments within your program.
You may do this assignment in Java or C/C++(If you want to use another language, clear it with me
first). Note that Python will not work for this assignment.
For this assignment, turn in your code, the text file with the output from your program, and an
observations file with a comment about how much time you spent on the program and with you learned
problem. Was the output what you expected? Does it make sense?
Make certain that you have your name and the assignment number at the top of your observations file
and your code file.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!