Question: 1) Provide the syntax to create an instance object of the Inventory class, object must be initialized with three arguments (two integers, and one string).
1) Provide the syntax to create an instance object of the Inventory class, object must be initialized with three arguments (two integers, and one string). (5 pts) Identify and correct the errors in each of the following code: (5 pts.) int y-l int x-1 2) a) while (y 3) Console.Write(") b) f (y x); else Console.Write("y is equal to x") Console.write("? is not equal to x");} 3) Provide the syntax to prompt a user to enter 5 numbers then display it on the screen.(5 pts)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
