Computer Science, asked by jeni15469, 5 months ago

write a c++ function to calculate simple interest with default argument.Call the function from the main program with zero,one,two and three argument.​

Answers

Answered by singhmanjinder00950
0

Answer:

In C++ programming, we can provide default values for function parameters.

If a function with default arguments is called without passing arguments, then the default parameters are used.

However, if arguments are passed while calling the function, the default arguments are ignored.

Similar questions