Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Computer Engineering Expert

Objective:  Write  a program to read a set of number,store in an array,and display the smallest,middle value and largest number entered  USING POINTERS

NOTE: 1- the user can enter up to 10 numbers

2- create a function sortNum to sort the numbers,and another function SML to determine smallest,middle and largest number

3- Array must be declared in main and passed to sortNum for sorting and then passed to SML function to "return" smallest,middle and largest numbers to main ,where it is displayed.

4- you can not deference any pointers (arrays) using [] in any function

HINT YOU CAN USE THIS PART FOR THE CODE

// sort the array

For ( ;i<8;i++)

{

For ( +1;j<9;j++)

{

If ( a[j] < a[i])

{

// exchange them double temp = a[j];

A[j] [i];

A[i] = temp;

}

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M91525104
  • Price:- $20

Guranteed 24 Hours Delivery, In Price:- $20

Have any Question?


Related Questions in Computer Engineering

The equation of regression line for sons heighty in inches

The equation of regression line for son's height(y) in inches versus father's height in inches is y = 35 + 0.5x. For a 72 inch tall father, what would we predict for the son's height?

Suppose there are three decks of cards on the table a

Suppose there are three decks of cards on the table, a number is written on each card. And each deck is sorted in decreasing order (The maximum value is on the deck in top). The goal is to find the minimum value between ...

Question please choose one of the following

Question: Please choose one of the following topics: • Internet of things (IOT) • Drones • Virtual Reality • Bitcoin • Encryption What is the current cybersecurity-related situation involving the topic you chose? What do ...

What are information silos what are the problems caused by

What are information silos? What are the problems caused by information silos? How organizations can solve the problems caused by information silos?

Quesiton an important principle in information security is

Quesiton: An important principle in information security is the concept of layers of security, which is often referred to as layered security, or defense in depth. 1) Please explain the concept of layers of security. 2) ...

Koh aq cuno32 aq precipitatekbr aq srno32 aq no

KOH (aq)+ Cu(NO3)2 (aq) = precipitate KBr (aq) + Sr(NO3)2 (aq) = no precipitate a) What are the possible products when solutions of KOH and Cu(NO3)2 are mixed? b) What are the possible products when solutions of KBr and ...

Question the three as of security are authentication

Question: The three A's of security are Authentication, Authorization, and Auditing. Write a 1-2 page paper in APA format describing these techniques and how they are used in your organization. What could be improved? Th ...

The monthly sales demand for a new product is uncertain but

The monthly sales demand for a new product is uncertain, but it is considered to be adequately described by a normal random variable with mean 50,000 units and variance 100,000,000. (a) A factory to manufacture the new p ...

At steady-state the output of a pid controller is 10ma when

At steady-state, the output of a PID controller is 10mA. When the process is upset, the set-point signal increases at a rate of 0.4 mA/min. If the controller gain, reset time, and derivative time are 3, 2 min, and 0.4 mi ...

San juan sailboat charters sjsbc is an agency that leases

San Juan Sailboat Charters (SJSBC) is an agency that leases (charters) sailboats. SJSBC does not own the boats. Instead, SJSBC leases boats on behalf of boat owners who want to earn income from their boats when they are ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As