# Create a Pascal's triangle using a matrix 10*10

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++

Concernant l'employeur :
( 4 commentaires ) United States

Nº du projet : #2943339

## Décerné à:

expertfromi

See private message.

%selectedBids___i_sum_sub_7% %project_currencyDetails_sign_sub_8% USD en 14 jours
(48 Commentaires)
5.4

## 3 freelance font une offre moyenne de \$12 pour ce travail

projetcoder

See private message.

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 14 jours
(38 Commentaires)
5.0
gotnone

See private message.

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 14 jours
(1 Évaluation)
0.0