Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access with AI-Powered 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

Students also viewed these Databases questions