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

Scenario:

The manager of the Diner by the Valley restaurant plans to have a computer available for students to place their orders when they enter the campus center. They have a limited menu selection available that includes sandwiches and drinks.


In addition to white bread, they have whole wheat and rye bread. No charge is included for different bread types; however, they do consider that selection a special request. The interface should enable special requests such as bread types to be selected. Students should be able to enter other special requests such as "Hold the onion" or "Hold the mayo". Water is available for each order at no charge, but it must be ordered. Prices are as follows: • Sandwich = $2.00 • Tea = $1.80, • Coffee = $2.30 • Juice = $1.50. The manager needs a user-friendly interface where a student can choose options easily and at the end, the program should display the current order selections and show the total cost of the order.




The following program is supposed to allocate nodes, put them into a linked list, print them out and then destroy them. Fix the bugs in the program and rewrite the code. Your program should have complete implementation required to run the following function. Take dummy data execute it, take snap shot and paste it in the document. struct linkedList{ int number; linkedList* next; }; void AddNode() { linkedList* head=NULL; linkedList* current; for(int i=0;i<10;i++){ current = new linkedList; current->number = i; current.next = head; head = current; } while(head->next!=NULL){ cout << head->number << endl; current = head->next; delete current; head = current; } return 0; }


Write a menu driven program to implement Deques (both Input-restricted and Output-restricted) operations such as Enqueue, Dequeue, Peek, Display of elements, Is Empty, Is Full using static array.


Describe the problem analysis-coding-execution cycle.
A) Write a program to confirm if a given number is a prime number or not.

B) Illustrate the above with a flowchart.
Describe what is a variable and how it is used in a program.

You are part of the Web development Team, currently designing a Web site for A company called Nkwali Yenkosi that designs and sells leather clothing and accessories. The Web site is made up of 5 Web pages (Home, About the leather, DIY Methods, Brick & Mortar and Shop Now). You are responsible for creating the Shop Now Web page and 2 Web pages connecting to it


R=v2 sin2&/g

v = 30.0 (speed of the throwing), g = 9.8 (gravity), and $= angle in radians





User may insert an angle above or equal 45° and below 60° as the highest angle.

Then the program should calculate the horizontal range of the projectile motion (R) for each angle until the angle become 35°.

Consider the gravity (g) as a constant.

You are required to calculate the 𝜃 in radians by using the given formula (PI = 3.14286 which is a constant).

Use the necessary header files to do the calculation.


A) It is late at night and you decide to get a glass of milk before bed. Try to write a pseudocode describing the process of going to the kitchen and getting the milk.

B) Draw a flowchart to illustrate the above program.

C) Define an algorithm of the above.
Write a C++ program to calculate the period of a conical pendulum (T) when a stone of mass 1 kg is whirled in a horizontal circle attached at the end of a 1.75 m long string and making an angle (in degrees) with the vertical is given by the user. The given below is the equation to calculate the period of a conical pendulum.

I cos 0

9

T

= 2n

1 = 1.75 m (length of the pendulum), g = 9.8 (acceleration due to gravity), and 8= half-angle of the conical

pendulum

• User may insert an angle above or equal to 30 and below 45" as the highest angle. • Then the program should calculate the period of a conical pendulum (1) for each angle until the angle

becomes 20".

. Consider gravity (g) as a constant. You are required to calculate the in radians by using the given formula (Pl = 3.14286 which is a constant).

Theta Ang/180.0 PI

• Use the necessary header files to do the calculation

Sample Output

Enter

35

34

33

32

Angle in Degrees: 35

2.40384 2.41832

2.43234

2.44591
LATEST TUTORIALS
APPROVED BY CLIENTS