Find Jobs
Hire Freelancers

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

$30-5000 USD

Σε Εξέλιξη
Αναρτήθηκε περίπου 21 χρόνια πριν

$30-5000 USD

Πληρωμή κατά την παράδοση
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++
Ταυτότητα εργασίας: 2943339

Σχετικά με την εργασία

3 προτάσεις
Απομακρυσμένη Εργασία
Ενεργός/ή 21 χρόνια πριν

Ψάχνεις τρόπο για να κερδίσεις μερικά χρήματα;

Πλεονεκτήματα πλειοδοσίας στο Freelancer

Καθόρισε τον προϋπολογισμό σου και το χρονοδιάγραμμα
Πληρώσου για τη δουλειά σου
Περίγραψε την πρόταση σου
Η εγγραφή και η πλειοδοσία σε εργασίες είναι δωρεάν
Βραβεύτηκε στον/στην:
Avatar Χρήστη
See private message.
$12 USD σε 14 ημέρες
4,9 (48 αξιολογήσεις)
5,4
5,4
3 freelancers δίνουν μια μέση προσφορά $12 USD για αυτή τη δουλειά
Avatar Χρήστη
See private message.
$5,95 USD σε 14 ημέρες
5,0 (38 αξιολογήσεις)
5,0
5,0
Avatar Χρήστη
See private message.
$17 USD σε 14 ημέρες
5,0 (1 αξιολόγηση)
0,0
0,0

Σχετικά με τον πελάτη

Σημαία της UNITED STATES
United States
5,0
4
Μέλος από Δεκ 3, 2002

Επαλήθευση Πελάτη

Ευχαριστούμε! Σου έχουμε στείλει ένα email με ένα σύνδεσμο για να διεκδικήσεις τη δωρεάν πίστωση σου.
Κάτι πήγε στραβά κατά την προσπάθεια αποστολής του email σου. Παρακαλούμε δοκίμασε ξανά.
Εγγεγραμμένοι Χρήστες Συνολικές Αναρτημένες Δουλειές
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Φόρτωση προεπισκόπησης
Δόθηκε πρόσβαση για Geolocation.
Η σύνδεση σου έχει λήξει και τώρα έχεις αποσυνδεθεί. Παρακαλούμε συνδέσου ξανά.