C++ program: C++ function overloading
1)Using function overloading, write a
function area( ) to calculate the
area of a circle, rectangular, and a trapezoid with
one, two and three arguments.
2)Write another function add( ) to
add two ints or two doubles
or two strings.
Notice:
***C++ program only, not C. Im a new learner of C++, so please
provide a full code of the program, screen shot for the output. and
explain to me how you write it. thanks alot!!
***read and follow the question carefully before you wirte the
code, check the example.
***If you dont know how to do it, please skip it and let
others to answer it. Correct answers will receive a upvote, wrong
answer and didnt follow the question instructions will receive a
downvote,unless you can change your answer.
C++ program: C++ function overloading 1)Using function overloading, write a function area( ) to calculate the area of a
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am