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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started