Questions: 11 448

Answers by our Experts: 10 707

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

Write a program that prompts users to pick either a seat or a price. Mark sold seats by changing the

price to -1. When a user specifies a seat (11 = first row first col (shown in bold on seating plan)), make

sure it is valid and available. When a user specifies a price, find any seat with that price. User should

enter -99 to exit.


Data collected by sensor devices may contain noise and need smoothing. One simple

approach to smooth out data is to replace each value with the average of the value and its two

neighboring values (or one neighboring value if it is at either end of the array). Write a program that

inputs 4*3 array of integers and smooth out the values. You should not create another array in your

solution. Also, you will use all neighbors to for smoothing. For example, for smoothing Red cell, you will

use values of all orange cells. You will use updated value of cells for smoothing.


Write a Menu Driven C++ program that creates a character array/string by taking input from user and

perform following tasks by displaying menu to user, the menu operations are implemented using

functions:

a) Length of string.

b) Character, consonants and vowels count in a string

c) Palindrome check

d) Character search within the string. If found display its starting position.

e) covert to either case


Write a program that converts each name to the following form: firstName middleName lastName. Your program must read each student’s entire name in a variable and must consist of a function that takes as input a string, consists of a student’s name, and returns the string consisting of the altered name to print to the terminal. Use the string function find to find the index of ,; the function length to find the length of the string; and the function substr to extract the firstName, middleName, and lastName.


Write an algorithm and draw flowchart to add even numbers between 0 and any positive integer number given by the user

Print out the square root of a given integer with only two decimal places.


Write a program that reads 5 integers into an array and:



a. Multiplied it by 2 and store into another array of the same size.



b. Merge the two arrays into third array




13. If you declare an array as int vals[5];, then you can double the value stored in vals[2] with the statement _____.


Create the IPO pseudocode to create a program that converts gallons to liters.

Note, One US gallon equals 3.7854 liters.


Create a c++ quiz program, in this program it has a 10 questions that the user will answer. The program has the following functions:



A. It will show the message (Correct) if the the answer is correct and (Wrong) if the answer is wrong



B. It can compute the total score



C. If the user Failed in the quiz it will ask the user if he wants to retake the quiz. ( 6 is the passing rate)



C1.1If he select Yes he will take the quiz again.



C1.2. If he select No the program will automatically closed.



Extra 10 points: use system(“clear”) to clear the the previous data in the screenx

LATEST TUTORIALS
APPROVED BY CLIENTS