Question 3) Write a user defined function called Maximum. The function takes two parameters. Two parameters are integer pointer reference values. The function determines which of the two values is bigger. The function will display a message stating which value is bigger. If pointers aren't used, then no credit will be given.

C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter10: Pointers
Section: Chapter Questions
Problem 3PP
icon
Related questions
Question

**C PROGRAMMING LANGUAGE 

**PLEASE PUT SOME COMMENTS

** DOUBLE CHECK IF IT WORKS

Q IN PICTURE

Question 3) Write a user defined function called Maximum. The function takes two
parameters. Two parameters are integer pointer reference values. The function determines which
of the two values is bigger. The function will display a message stating which value is bigger. If
pointers aren't used, then no credit will be given.
Sample output for question 3:
Enter num1: 5
Enter num2: 2
5 is greater than 2.
Transcribed Image Text:Question 3) Write a user defined function called Maximum. The function takes two parameters. Two parameters are integer pointer reference values. The function determines which of the two values is bigger. The function will display a message stating which value is bigger. If pointers aren't used, then no credit will be given. Sample output for question 3: Enter num1: 5 Enter num2: 2 5 is greater than 2.
Expert Solution
steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning