Question: a ) Create variables in the main ( ) function and assign the corresponding values for: b ) Your name c ) Your mayor d

a) Create variables in the main() function and assign the corresponding values for:
b) Your name
c) Your mayor
d) Amount of credits taken
e) Amount of credits taking this semester
f) This class's name
g) Create and call a function named myInfo(..........), passing the above parameters
h) In the function print:
Hi my name is ..
My major is ..
I have completed .. credits.
I and taking .. credits.
This class's name is ..

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!