Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

(a) Create a structure called employee. The following shows an example of what the contents should be: >> employee ans = name: 'Michael Zhang' ID:

(a) Create a structure called employee. The following shows an example of what the contents should be:

>> employee ans = name: 'Michael Zhang' ID: 103 degree: B.S. subject: Chemistry salary: 110500.02 age: 52

(b) Add a new field to the structure employee called bonus and assign a value of 5000 to the added field.

(c) Change the value in the field age of the structure employee to 53.

(d) Change the employees name, so that the value in the field name of the structure employee is Mikey Zhang.

(e) Delete the field ID from the structure employee

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Seven Databases In Seven Weeks A Guide To Modern Databases And The NoSQL Movement

Authors: Eric Redmond ,Jim Wilson

1st Edition

1934356921, 978-1934356920

More Books

Students also viewed these Databases questions