Sale!

ECE4400 Assignment 1 solution

$30.00 $18.00

Original Work ?

Download Details:

  • Name: Assignment-1-C-Review-cuwpp7.zip
  • Type: zip
  • Size: 2.06 KB

Category: You will Instantly receive a download link upon Payment||Click Original Work Button for Custom work

Description

5/5 - (6 votes)

• Write a C++ program to find the max of an integral data set.
o Write main function to ask a user to
§ input the number of data values
§ input all data values
o Write max function to print maximum value

• Write C++ program to swap two variables using pointers.
o Writing main function
o Write swap function
o Swap function must accept any type of pointer (uses generic)

• Write a program uses a class template to perform addition, subtraction, multiplication,
and division of two variables num1 and num2. The variables can be of any type.
o Write main function
o Write the generic class