Computer Science, asked by saransh28, 2 months ago

Write a function that accepts two arguments: twostrings name of a student and name
department. Provide a default value for the department so that if you call the function by
passing single argument, the department default value should be CSE. Write a main() function
that proves you can call the function with a single argument alone as well as with two
arguments.

Answers

Answered by ptavyakt1980
0

Answer:

Write a function that accepts two arguments: twostrings name of a student and name

department. Provide a default value for the department so that if you call the function by

passing single argument, the department default value should be CSE. Write a main() function

that proves you can call the function with a single argument alone as well as with two

arguments.

Similar questions