0% found this document useful (0 votes)
36 views2 pages

Villaplaza, Mark P. Bsme-2B AOL

This document outlines 3 programming assignments for a student: 1) Create a C program to print a Pascal's triangle based on user-input rows. 2) Create a C program to find and print the largest number in an array as well as its index. 3) Create a C program to sort user-input in ascending order and print the output. The document provides sample outputs for assignments 2 and 3.

Uploaded by

markvillaplaza
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
36 views2 pages

Villaplaza, Mark P. Bsme-2B AOL

This document outlines 3 programming assignments for a student: 1) Create a C program to print a Pascal's triangle based on user-input rows. 2) Create a C program to find and print the largest number in an array as well as its index. 3) Create a C program to sort user-input in ascending order and print the output. The document provides sample outputs for assignments 2 and 3.

Uploaded by

markvillaplaza
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

VILLAPLAZA, MARK P.

BSME-2B
AOL

FINAL REQUIREMENT

1. Pascal triangle C program: Create a C program to print the Pascal triangle


that you might have studied while studying Binomial Theorem in Mathematics.
A user will enter how many numbers of rows to print.
Sample Output:

2. Create a C program to find the largest number in an array. Also, print the
index at which it is present.
Sample Output:

3. Create a C program that will sort the user’s input in ascending


order. Sample Output:

You might also like