Answered step by step
Verified Expert Solution
Question
1 Approved Answer
1- Write C program using nested structure (declare two separate structures). The structs should be as shown in table.1 and table.2. Sample output is shown
1- Write C program using nested structure (declare two separate structures). The structs should be as shown in table.1 and table.2. Sample output is shown in Figure.1. you can use "gets" operator to read characters from the standard input 2- Rewrite your code by declaring Embedded structures. Save your work as lab3.02. 3- Submit your work struct: Transportation struct dateOfManufacturing char company[20]; int day; char model[30]; int enginge capacity; struct dateOfManufacturing int month; int year; Table.2 Table.1 Enter company: Toyota Enter model: Small nter enginge_capacity: 1600 Enter Date of Manufacturing [DD MM YY) format: 05 01 2017 company: Toyota odel Small enginge_capacity 1600 Date of Manufacturing : 05/01/2017
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