Intro Lab 1. Create a Pascal's triangle using a matrix 10 * 10. The rows and columns being displayed will be determined by user input, and obviously can't be larger than 10 * 10. You will need (at least) 2 functions: a.) Create_Pascals(?) that will fill in the correct value into the 10 * 10 matrix, actually go through the matrix and determine what to put in that spot it is at. hint hint: coordinates are key!! Also, you can create a single for loop to place 1's in the top row, and another for the first column. b.) And finally, a function for the user to input the size. (Less than 10.) I want to see an attempt to display the matrix by using "cout". If you can't remember what a Pascal's Triangle is, remember this?? 1 1 1 1 2 1 1 3 3 1 1 4 6 4 1 1 5 10 10 5 1 Your matrix should look like this: 1 1 1 1 1 1 1 2 3 4 5 ? 1 3 6 10 ? ? 1 4 10 ? ? 1 5 ? ? 1 ? And display like this: user input = 4 user input = 3 1 1 1 1 1 2 3 4 1 3 6 10 1 4 10 ? 1 1 1 1 2 3 1 3 6 (s.c. and code) 2. After the creation and display of Pascal's Triangle (to the USER's specification), create a function that will ADD UP all elements in the matrix. It should contain a double for loop. (s.c. and code)
## Deliverables
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request. 3) Complete ownership and distribution copyrights to all work purchased.
## Platform
window visual C++