[Solved] SOLVED:program uses a void function to check the item number to determine the color of the item,

$25

File Name: SOLVED:program_uses_a_void_function_to_check_the_item_number_to_determine_the_color_of_the_item,.zip
File Size: 904.32 KB

SKU: [Solved] SOLVED:program uses a void function to check the item number to determine the color of the item, Category: Tag:
5/5 - (1 vote)

Note: The program should use a void function to check the item number todetermine the color of the item, and the color should be given to the callingfunction by using a reference variable. Use an array to store the colors andcorresponding characters.Code the program so that it displays the color of the item whos item number is ***** by the user. All item numbers contain exactly five characters. All items are available in four colors:blue,green,red, and white. The third character in the item number indicates the items color, as follows.B or b= blueG or g=greenR or r= RedW or w=WhiteFor example, if the user enters 12b45, the program should display the word Blue on the screen. If the item number does not contain exactly five characters, or if the third character is not one of the characters listed above, the program should display an appropriate message on the screen

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[Solved] SOLVED:program uses a void function to check the item number to determine the color of the item,
$25