Question: ? * * * * Set variables A , B and C equal to first three, middle three, and last three digits of your MSU

?**** Set variables A,B and C equal to first three, middle three, and last three digits of your MSU ID (9-digit), respectively. You can name your variables differently if you wish. **
Write a program which prints the sum of the three numbers. (10) Answer:
1
ABE 44236423
Lab2
Spring2024
Write a program which prints the variable B if variable A is greater than variable C, else prints your NetID. (25)
Answer:
Put the three variables in a list and write a program that prints the third element in the list. (25) Answer:
 ?**** Set variables A,B and C equal to first three, middle

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!