Question: undefined (c) Madani Superbike Center needs a program that can help them in managing their bike stock for 2020. The program needs to display the

undefined (c) Madani Superbike Center needs a program that can help themin managing their bike stock for 2020. The program needs to displaythe outputs as in Figure Q2(e)) and Figure Q2c(ii). Note: The boldundefined

(c) Madani Superbike Center needs a program that can help them in managing their bike stock for 2020. The program needs to display the outputs as in Figure Q2(e)) and Figure Q2c(ii). Note: The bold words mean it's the input given by user. CONSOLE OUTPUT MADANI SUPERBIKE CENTER Please enter the number of bikes: 2 Bike Number: 1 Brand: KAWASAKI MODEL: 21000 CC: 1043 Condition: U Price: 60000.00 Bike Number: 2 Brand: BMW MODEL: S1000RR CC: 999 Condition: N Price: 94099.99 Figure Q2(c)(0) CONSOLE OUTPUT Bike Number 1 Bike Number 2 Brand MODEL Condition Price KAWASAKI 21000 1043 60000.00 BMW S1000RR 999 N 94899.99 TOTAL PRICE: 154899.99 Figure (2016 One of your partners already write some of the basic codes as in Figure Q2(e)). You need to complete the rest of the codes by referring to the following information. Write a structure declaration with structure name is BIKES to hold these informations: 1 Brand 2. MODEL (string that can hold up to 8 character) (string that can hold up to 5 character) 3. CC 4. Condition S. (ii) (Integer number) (single character) PRICE (double number) [5 marks] Construct the instruction for getting input data from user so that the result will be look like in Figure Q2(e)l). The input data will be repeated based on the number of bikes. [5 marks] (ii) Produce the instruction to display the data given in question Q2(c)(ii) so that the result will be look like in Figure Q2e)(ii). [8 marks] (iv) State the reason why the program need the "cin.ignore()" instruction. [1 mark] SOURCE CODE #include using namespace std; int bikelili double total price struct BIKES ) BIKES bike (50) int bikelili double totalPrice = 0 int main cout > bikelili (vii) for (int i=0; cout > til cout > bike[1]. Condition; cout > bike[1].PRICE; totalPrice=1 X cout

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!