Using an array , write a C++ program that can hold ten integer input from user. Display those values on the screen , and their prompt the user an integer to search within the array , and count the number of times the item is found.
Enter 10 values in array :
1
2
3
4
5
6
7
8
8
Values in array now : 1 2 3 4 5 6 7 8 8
Enter the value to find : 8
8 was found in 2 times.
____________________________
Process excited with return value 0
Press any key continue . . .
Enter a C++ program that will help accept an input for the array size. Store the user input then display the even odd numbers.
Enter array size :: 10
Enter array elements ::
Enter arr[0] Elements :: 1
Enter arr[1] Elements :: 2
Enter arr[2] Elements :: 3
Enter arr[3] Elements :: 4
Enter arr[4] Elements :: 5
Enter arr[5] Elements :: 6
Enter arr[6] Elements :: 7
Enter arr[7] Elements :: 8
Enter arr[8] Elements :: 9
Enter arr[9] Elements :: 0
Stored Data in Array ::
1 2 3 4 5 6 7 8 9 0
Events Elements in Array are ::
2 4 6 8 0
Odd Elements in Array are ::
1 3 5 7 9
. One of your clients wants to apply for a Home Loan in the next 12 to 18 months. Few months back the client had lost his job during the COVID-19 pandemic and delayed his credit card payments. The client is worried that this may impact his credit score maintained by Credit Bureaus. Suggest a roadmap to your client to improve his credit score
A box of mass 500kg is druged along a level ground at a speed of 12metres per second.if the force of friction between the box and the floor is 1200newtons .calculate the power developed?
Design the concrete mix according to the following conditions:
Design Environment
Building frame
Required design strength = 27.6 MPa
Minimum dimension = 150 mm
Minimum space between rebar = 40 mm
Minimum cover over rebar = 40 mm
Maximum slump is required
Statistical data indicate a standard deviation of compressive strength of 2.1 MPa is
expected (more than 30 samples).
Only air entrainer is allowed.
Available Materials
Air entrainer: Manufacture specification 6.3 ml/1% air/100 kg cement. (Use maximum
or +2% air content)
Coarse aggregate: 19 mm nominal maximum size, river gravel (rounded)
Bulk oven-dry specific gravity = 2.55, Absorption = 0.3%
Oven-dry rodded density = 1761 kg/m³
Moisture content = 2%
Fine aggregate: Natural Sand
Bulk oven-dry specific gravity = 2.6
Consider a profit maximizing firm whose total cost function is given as TC=Q2 +
20Q, consumers of the firm’s products derive benefits from the good according to the
function MB=500 – 12Q. Production of the product has negative effects on the
environment approximated at Ksh. 300 per unit.
(i) Determine the efficient level of output for the firm without government intervention
13. According to a study, the price elasticity of shoes in the United States is 0.7, and the income
elasticity is 0.9.
a. Would you suggest that the Brown Shoe Company cut its prices to increase its revenue?
b. What would be expected to happen to the total quantity of shoes sold in the United
States if incomes rise by 10 percent?
11. Why do you think that whenever governments (federal and state) want to increase rev-
enues, they usually propose an increase in taxes on cigarettes and alcohol?
The design of a concrete mix requires 1173 kg/m3
of gravel in dry condition, 582 kg/m³ of sand in dry condition, and 157 kg/m³of free water. The gravel available at the job site has a moisture content of 0.8% and absorption of 1.5%, and the available sand has a moisture content of 1.1% and absorption of 1.3%. What are the masses of gravel, sand, and water per cubic meter that should be used at the job site?
12. Could a straight-line demand curve ever have the same elasticity on all its points?