User-defined function that performs case

Assignment Help Civil Engineering
Reference no: EM132637512

Please answer this C program

  1. Write down your user-defined function that performs case insensitive string comparison similar to strcmp(char S1[ ], char S2[ ]).
  2. Write down a recursive function int Sum of Octal Digits(int n), which returns the number of OCTAL digits of the positive integer n (consider n as decimal number).If the input n = 25 (decimal), Octal sum = 3+1 = 4
  3. Write a function (using a pointer) that finds out the maximum, minimum and average of all the elements of a given array.

Reference no: EM132637512

Questions Cloud

Suggest a evaluating capital investments of company : Suggest a evaluating capital investments of your selected company in the emerging markets to reduce risk. Provide a rationale for your suggested methodology.
Find the oil changes required to earn net income : Find the oil changes required to earn net income of $20,000, assuming fixed costs are $32,000 and the contribution margin per unit is $8.
Write down a recursive function int sum of octal digits : Write down a recursive function int Sum of Octal Digits(int n), which returns the number of OCTAL digits of the positive integer
Develop a parallel program : Develop a parallel program to find a given element in an unsorted array (a large number of elements starting from 10K
User-defined function that performs case : Write down your user-defined function that performs case insensitive string comparison similar to strcmp(char S1[ ], char S2[ ]).
How much profit will earn from each bottle : You will sell this bottle of water for $1.50 How much profit will you earn from each bottle. Estimate the cost to manufacture a bottle of water
Giorgio discrete event simulator : Describe the events associated with the activity on each device including arrival, use and exit.
Determine the income and unrealized holding gain : Determine the income and unrealized holding gain components for the years 2000 through 2004 (assume that the interest rate change occurs on each December 31)
Openmp program to perform matrix multiplication : OpenMP program to perform matrix multiplication. Compare the time of parallel execution with sequential execution.

Reviews

Write a Review

Civil Engineering Questions & Answers

  Find what is the annual crash rate for the intersection

The four approach volumes per day at this intersection are 28,648, 23,856, 12,150, and 10,174. The crash totals for the last 3 years are 91, 96, and 87. What is the annual crash rate for this intersection

  What is the design speed of he curve

An equal-tangent crest vertical curve is designed with a PVI at station 110+00 and a PVC at station 107+43.3. if the high point is station 110+75.5 what is the design speed of he curve?

  Calculate the alkalinity as cac03 of water that contains

Select the lightest available W14 section to support the axial compression dead load of PD= 140 k and a live load of PL = 120 k if the length is equal to 14 ft and A992 steel is used

  Find the exit velocity and the nozzle efficiency

Air flows into an insulated nozzle at 1 MPa, 1200 K with 15 m/s and a mass flow rate of 2 kg/s. It expands to 650 kPa, and the exit temperature is 1100 K. Find the exit velocity and the nozzle efficiency.

  Calculate distance up ramp using the work energy theorem

A 58.3 degree inclined plan has a spring with spring constant 23,400 N/m attached at the bottom.A 1.2 kg block is placed on the plane and compresses the spring a distance of 2.4 cm from equilibrium.

  Depreciation using straight line-double declining balance

Calculate the depreciation using straight-line, double-declining-balance (DBB), and MACRS (current IRS regulation) methods; and tabulate the depreciation schedule.

  Calculate the pressure and mole fractions in the vapor

Water is used in a heat exchange to cool 5 kg/s of air from 400 C to 200 C. Calculate (a) the minimum mass flux (kg/s) of the water and (b) the quantity of heat transferred (MJ) to the water each second. The water enters at 20 C and leave at 30 C.

  Determine the force that the hinge puts on the gate

A rectangular gate 6 ft tall and 5 ft wide in the side of an open tank is held in place by the force F as indicated in the figure. The weight of the gate is negligible, and the hinge at O is frictionless.

  Design the ramp for the highest horizontal curve

The entrance to Mt. Hood Meadows (elevation 3,075 ft at the point of crossing) is grade separated from Viking highway (elevation 3,050 ft at the point of crossing) and will have to be connected. The two roadways intersect at a right angle.

  Shear and bending moment expressions

Show or formulate the shear and bending moment expressions for each board, and plot/draw the shear and bending moment diagrams of the boards.

  Find length of shortest ladder that can stand outside wall

a tower is surrounded by a wall that is 10 m high and 30 m away from the base of the tower. compute the length of the shortest ladder that can stand outside the wall and lean against the tower.

  Determine the internal loads acting along the z-directions

The sign is attached to the post that is built-in at the ground. Treat the sign as having uniform mass. Neglect the contribution of the post weight. The length d is from the center plane of the sign to the center of the post.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd