HW3-C - Function Overloading with Arrays (Chapter 6 Chapter 7) Collapse context In this exercise, the main code passes to the arrayMins function either an array of characters, or an array of floating-point numbers (of type double). If the input array is a character array: • The arrayMins function will print the lowest small case letter and the lowest capital case letter (in this specific order) separated by a single space. In this case, the function returns with a TRUE. • If the array only contains small letters, it prints the lowest small case letter and returns with a FALSE. • If the array only contains capital letters, it prints the lowest capital case letter and repurns with a FALSE. • If the array does not contain any small or capital letters, the function prints "NONE", and returns with a FALSE. If the input array is a double array: • The arrayMins function will print the smallest and largest numbers in the array (in order) separated by a single space. • If the smallest and largest numbers are equal, the function will only print one of them. You are required to write the body for the two overlaoded functions called arrayMins, one which handles the case for characters, and the other the case for doubles.
HW3-C - Function Overloading with Arrays (Chapter 6 Chapter 7) Collapse context In this exercise, the main code passes to the arrayMins function either an array of characters, or an array of floating-point numbers (of type double). If the input array is a character array: • The arrayMins function will print the lowest small case letter and the lowest capital case letter (in this specific order) separated by a single space. In this case, the function returns with a TRUE. • If the array only contains small letters, it prints the lowest small case letter and returns with a FALSE. • If the array only contains capital letters, it prints the lowest capital case letter and repurns with a FALSE. • If the array does not contain any small or capital letters, the function prints "NONE", and returns with a FALSE. If the input array is a double array: • The arrayMins function will print the smallest and largest numbers in the array (in order) separated by a single space. • If the smallest and largest numbers are equal, the function will only print one of them. You are required to write the body for the two overlaoded functions called arrayMins, one which handles the case for characters, and the other the case for doubles.
C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter8: I/o Streams And Data Files
Section: Chapter Questions
Problem 8PP: (Data processing) A bank’s customer records are to be stored in a file and read into a set of arrays...
Related questions
Question
c++ language pleaseee
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 3 steps with 5 images
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning