Q#1. Create a program for tailor's shop to store measurement of their customers a. Shop can store maximum of 50 customer's data b. Create three structure i. 1* structure will store customer info → struct customer {}; having two variables 1. Name (not more than 15 character, get input again if more than 15 character entered using do while) 2. Phone (All should be number only, if any character input, say type again) ii. 2nd structure will store measurement → struct measurement {}; having four variables 1. Bust size in CM 2. Waist size in CM 3. Full hip in CM 4. Waistline to floor in CM iii. 3rd structure will store structure of customer info and measurement Like Struct TailorShop{ struct measurement m; struct customer c; iv. An array of struct Tailor Shop will be created to store customer's information, and that struct will be write in a text file for permanent storage. v. When program start 2 option will be given (do while loop will be use to show menu) 1. create customer and enter measurement 2. show customer data vi. when enter 2, customer data will be shown like this (function will be created that will show data) Sr#1 Name: ABC Phone: 12345 Measurement BUST: 79.3 WAIST:61 FULL HIP:87 WAISTLINETOFLOOR:115 Sr#2 Name: ABC Phone: 12345 Measurement BUST: 79.3 WAIST:61 FULL HIP:87 WAISTLINETOFLOOR:115 Sr#3 Name: ABC Phone: 12345 Measurement BUST: 79.3 WAIST:61 FULL HIP:87 WAISTLINETOFLOOR:115
Q#1. Create a program for tailor's shop to store measurement of their customers a. Shop can store maximum of 50 customer's data b. Create three structure i. 1* structure will store customer info → struct customer {}; having two variables 1. Name (not more than 15 character, get input again if more than 15 character entered using do while) 2. Phone (All should be number only, if any character input, say type again) ii. 2nd structure will store measurement → struct measurement {}; having four variables 1. Bust size in CM 2. Waist size in CM 3. Full hip in CM 4. Waistline to floor in CM iii. 3rd structure will store structure of customer info and measurement Like Struct TailorShop{ struct measurement m; struct customer c; iv. An array of struct Tailor Shop will be created to store customer's information, and that struct will be write in a text file for permanent storage. v. When program start 2 option will be given (do while loop will be use to show menu) 1. create customer and enter measurement 2. show customer data vi. when enter 2, customer data will be shown like this (function will be created that will show data) Sr#1 Name: ABC Phone: 12345 Measurement BUST: 79.3 WAIST:61 FULL HIP:87 WAISTLINETOFLOOR:115 Sr#2 Name: ABC Phone: 12345 Measurement BUST: 79.3 WAIST:61 FULL HIP:87 WAISTLINETOFLOOR:115 Sr#3 Name: ABC Phone: 12345 Measurement BUST: 79.3 WAIST:61 FULL HIP:87 WAISTLINETOFLOOR:115
Programming Logic & Design Comprehensive
9th Edition
ISBN:9781337669405
Author:FARRELL
Publisher:FARRELL
Chapter6: Arrays
Section: Chapter Questions
Problem 10PE
Related questions
Question
100%
Do the following task in C language
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps with 4 images
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage