Question: 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).

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!