Question: A 5-digit code number is printed on the products in a textile factory. The first digit of the given code number indicates the size of
A 5-digit code number is printed on the products in a textile factory. The first digit of the given code number indicates the size of the product (1-S, 2-M, 3-L, 4-X), the next digit indicates the gender (1-Male, 2-Female) and the last two digits the color code. According to the code number sent to him; Write the function named kodCoz, which produces the size, gender and color code of the product. Operations such as entering the code number from the keyboard, calling the function and printing the results on the screen must be performed in the main function.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
