Question: Given an array A of size N. write three functions that do the following: 1. Get the value of the maximum number in the array.

Given an array A of size N. write three functions that do the following: 1. Get the value of the maximum number in the array. 2. Get the value of the minimum number in the array. 3. Count the prime numbers in the array. Write a C++ program that prompts the user to input 4 nteger numbers A, B, C and D and then Print "YES" If A > Otherwise, print "NO". N Note: Solve this question without using the pow() function from cmath or math.h or defining any function apart from the main function
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
