CMIS 315 7980 Programming in C++ (2162) Project 1

profileJBRADDEN

Write a functional decomposition and C++ program that inputs an integer larger than 1 and calculates the sum of the squares from 1 to that integer.

For example, if the integer equals 4, the sum of the squares is 30 ( 1 + 4 + 9 + 16 ).

The output should be the value of the integer and the sum, properly labeled. The program should repeat this process for several input values. A negative input value signals the end of data.

Save your program in the proper file(s). In the additional .doc file YourFirstInitialYourLastName_HW3.doc (e.g., JDow_Project1.doc) provide explanations and comments on your solution.

Zip all the  files  in one YourFirstInitialYourLastName.Project1.zip archive(e.g., JDow_Project1.zip) and submit the .zip file for grading.

 When using Microsoft Visual C++ Express : name the project as YourFistInitialYourLastName_Project1 , when completed - zip the whole project folder for deliverable ( add the .doc file to the project folder).

    • 10 years ago
    • 25
    Answer(2)

    Purchase the answer to view it

    blurred-text
    NOT RATED
    • attachment
      project.rar

    Purchase the answer to view it

    blurred-text
    NOT RATED
    • attachment
      jbradden.rar
    Bids(0)