Questions: 1 835

Answers by our Experts: 1 539

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering

Machine Problem 5.7. 

Write a program using two-­‐dimensional arrays that determines the highest and lowest of the 12 input

values. 


Sample input/output dialogue:


Enter twelve numbers: 13 15 20 13 35 40 16 18 20 18 20 19 

The highest is: 40 

The lowest is: 13


Machine Problem 5.6. Write a program using two-­‐dimensional arrays that calculates the sum and average of the twelve input values which theuser would type from the keyboard and prints the calculated sum and average.


Machine Problem 5.5.

Write a program using two dimensional arrays that searches a number and display the number of times it occurs on the list of 12 input values.


Sample input/output dialogue:

Enter twelve numbers: 20 13 30 35 40 16 18 20 18 20

Enter a number to search: 20 Occurrence(s) : 3


Machine Problem 5.4.

Write a program using two-­‐dimensional arrays that determines the ODD numbers among the12 input values typed fromthe keyboard and prints the list of these ODD numbers.


Sample input/output dialogue: 

Enter twelve numbers: 8 9 10 7 25 30 69 101 798 10111 10023

Odd numbers are: 9 7 25 69 101 10111 10023


Machine Problem 5.3.

Write a program using one-­‐dimensional array that accept five input values from the keyboard. Then it should also accept a number to search. This number is to be searched if it is among the five input values. If it is found, display the message “Searched number is found!”, otherwise display “Search number is lost!”.


Celebs car hire company has a range of cars for rent. Charges start at £20 a day for the cheapest to £70 a day for the most expensive. The company requires a program that gives customers printed details of charges. The program asks the user for a car make, model and daily rate1 then displays a table of daily charges for between one and fourteen days. 


Write a console application that uses at least five (5) different methods of Math class. Provide a meaningful identifier of the variables or constants. Name the namespace as MathApp and its class as MathProgram.



Write an application for a furniture company; the program determines the price of a table. Ask




the user to choose one for pine, 2 for oak, or three for mahogany. The output is the name of the




wood chosen as well as the price of the table. Pine tables cost $100, oak tables cost $225, and




mahogany tables cost $310. If the user enters an invalid wood code, set the price to zero. Save




the file as Furniture.cs

Write a program that produces the following output:


CCCCCCCCC ++ ++

CC ++ ++

CC ++++++++++++++ +++++++++++++++

CC ++++++++++++++ +++++++++++++++

CC ++ ++

CCCCCCCCC ++ ++


Using Visual Studio, create a simple program that will have the following features:

-ask the user to input the desired size of an array

-let the user input values to be saved in the declared array

-display all the values saved in the created array



LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS