ITDSIU19023 Lab 4 Solved

30.00 $

Category:
Click Category Button to View Your Next Assignment | Homework

You'll get a download link with a: zip solution files instantly, after Payment

Securely Powered by: Secure Checkout

Description

Rate this product

Create one single .c file and use functions for the questions (e.g. ex01, ex02, … for the function names)

  1. Write a program to construct the Pascal triangle with the given integer n.

Example: n = 3

1

1 1

1 2 1

1 3 3 1

 

  1. Write a program to input an array of m x n. Sort the odd column in increasing order and the even column in decreasing order

 

  1. Input an array of n x n (n is even). Sort the 1st diagonal in increasing order and the 2nd diagonal in decreasing order. 1st diagonal starts with element [0,0], 2nd diagonal starts with elements [n-1,0]

 

  1. Input an array of m x n. Provide the following functions:
  1. Insert one row
  2. Remove one row
  3. Insert one column
  4. Remove one column

 

  1. Input an array of m x n with all distinguished elements. Find the minimum element of each row then find the maximum number from those
  • Lab4-m59dnd.zip