Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

ENGR347 Lab Project 4: Unsigned Integer Addition Performance Indicator: 3 For ea

ID: 3644955 • Letter: E

Question

ENGR347 Lab Project 4: Unsigned Integer Addition
Performance Indicator: 3
For each of the following parts, create:
a) a description of logic using either a flowchart or pseudo code (your choice) presented
in a professional manner (i.e., not hand written)
b) a written unit test plan which states precisely how you will verify proper functionality
of the code segment
c) the source code, with useful comments which match your DOL as much as possible
d) an electronic log file which demonstrates and documents each item of the test plan,
with all important information CLEARLY identified
e) an error tracking sheet (hand-written is okay)
Part 1. Write a program to compute the sum of all even integers from 0 to 100 and store
the result in a memory location called

Explanation / Answer

#include using namespace std; int main() { int a[]={1,2,3,4,5,6,7,8,9,10...100}; int sum=0,n=8,temp; for(int i=0;i