Description
Assignment 2
215 = 32,768 and 3+2+7+6+8 = 26
Write a program product-digit-sum.cpp that computes ab = n and then the sum of the digits in n. Whatever progress you have made in implementing this program will be discussed at the next synchronous class meeting.
Sample Output:
user@machine:solution$ ./pds
a: 2 b: 15
2^15 = 32768
Sum Of Digits: 26
Submission: Your program will be submitted using canvas and git + github.
2) Your repository on github.com should be private and you should add my account as a collaborator by going to “settings” → “manage access” → “invite collaborator” and entering my username:
fmresearchnovak
3) On canvas you should upload a link to this github repository
https://github.com/fmresearchnovak/HW2.git
Reviews
There are no reviews yet.