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 23", "Christina 19", "Joanne 21","John 18", "Theresa 19","Lyons 21","Wayne 18","Patcia 18","Andre 21","Andrea 19","Henry 21" to list object stdObj of student's names and ages. Write statements to append "Steven 21","Gloria 19" to stdObj. Write a statement that will replace "Patcia 18" with "Patricia 18". Write a statement that will insert "Emily 18" 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 21" 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 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!