Question: Write a statement that will assign items Daniel 2 3 , Christina 1 9 , Joanne 2 1 , John 1 8
Write a statement that will assign items "Daniel "Christina "Joanne "John "Theresa "Lyons "Wayne "Patcia "Andre "Andrea "Henry to list object stdObj of student's names and ages. Write statements to append "Steven "Gloria to stdObj. Write a statement that will replace "Patcia with "Patricia Write a statement that will insert "Emily as the first item in stdObj. Use a loop to display individual items of stdObj, one item per line. Write an expression that will check if "Andre is stdObj or not. Assign Bolean value of the expression to a variable isFound. Write a statement that will assign the sort stdObj to stdObjSorted. Write a program that will assign students' names in stdObj to a list object stdNames and the students' ages to stdAges. The program should calculate and display the average age of students.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
