Option #1: Repetition Control Structure – Five Floating Point Values

Colorado State University: Global Campus

Question Description

Write a program that utilizes a loop to read a set of five floating-point values from user input. Ask the user to enter the values; then print the following data:

  • Total
  • Average
  • Maximum
  • Minimum
  • Interest at 20% for each original value entered by the user.
    Use the formula, Interest_value = Original_value + Original_value*(0.20)

Assignment Deliverable Instructions

  1. Submit only your source code, successful compile, and final output.
  2. Include the course, the program number, your name, and the date in your program header. Also include this information at the top of your Microsoft Word file. Include additional comments, as necessary, and maintain consistent indentation for good programming style, as shown and discussed in our text.
  3. Use the Windows Command Prompt command line interface or any Java IDE you choose to compile and execute your program.
  4. Submit the following deliverables in a single document in the order listed:
    1. A single Microsoft Word file containing a screen snapshot of your Java source code for (just the beginnings of the source code is OK) as it appears in your IDE (e.g., Eclipse, Net Beans, JDeveloper, etc.) or editor (e.g., a Windows command line "more" of the .java file's first screen).
    2. A listing of your entire modified version of the Java source code for You can simply copy and paste the text from your IDE into your submission Microsoft Word document. Make sure to maintain proper code alignment by using Courier font for this item. Do not submit the original source code files!
    3. A screen snapshot showing your program’s successful compile
    4. A screen snapshot showing all of your program’s output.
  5. Additionally, submit a zip file containing all created .java files for your project separately from the Word document.

Final Answer

All the deliverables are attached.Please, let me know if you need any clarification.

Page 1 of 3

1. Snapshot of source java code in ...

uoscar (3983)
Carnegie Mellon University

Thanks for the help.

Outstanding. Studypool always delivers quality work.

Tutor was very helpful and took the time to explain concepts to me. Very responsive, managed to get replies within the hour.


Brown University

1271 Tutors

California Institute of Technology

2131 Tutors

Carnegie Mellon University

982 Tutors

Columbia University

1256 Tutors

Dartmouth University

2113 Tutors

Emory University

2279 Tutors

Harvard University

599 Tutors

Massachusetts Institute of Technology

2319 Tutors

New York University

1645 Tutors

Notre Dam University

1911 Tutors

Oklahoma University

2122 Tutors

Pennsylvania State University

932 Tutors

Princeton University

1211 Tutors

Stanford University

983 Tutors

University of California

1282 Tutors

Oxford University

123 Tutors

Yale University

2325 Tutors