Name: ____________________________________________________ Alpha: _____________________
Describe help received: _________________________________________________________________
|
Identify the following components for function readRow by circling
and labeling them in the code.
|
| output: |
The
program reads an integer from the user and prints out its factorization into
prime numbers. Unfortunately, I've been unable to figure out how to implement
the function firstfactor:
firstfactor. Complete the program by defining the function (a
description of what the function is supposed to do is given in the source
code's comments). When your program is working correctly, a typical run might
look like this:
Enter an integer larger than 1: 60 The factorization of 60 is (2)(2)(3)(5) |
|
~/bin/submit -c=IC210 -p=hw15 hw.cpp