C++ program to calculate volume of cube,cylinder and cuboid using func

c++ program to find the volume of cube,cylinder and cuboid using function overloading
6 answers Last reply
More about program calculate volume cube cylinder cuboid func
  1. You want us to write a program for you...?
  2. Worse yet, he wants us to do his homework for him. Are there no honest people in the world anymore?
  3. We already did our homework; so can you!
  4. If he needs help, help can be provided, particularly in guiding rather than the actual coding itself. Although I don't know what function overloading is and I only program in C (not C++ or C#), I can at least help get started, to some extent. Programming, at its deepest level, is otherwise nothing more than variable manipulation. You'll need to know the formulas for calculating the volume of a cube, cylinder, and cuboid in order to do this task. The cube is the easiest one - I'd recommend starting there. If you can get that to work, then move on to the cuboid. Once that wrks, do the cylinder as well.
  5. I'm all for helping people by providing guidance, but I have no interest in helping someone who baldly asks for their homework to be done for them. There are quite enough people in the IT industry who don't know what they are doing as it is; let's not help more people get bogus qualifications.

    At least demonstrate some attempt to solve a problem before just asking others to do it for you. In reality this is a very simple question (including overloading functions) that can be solved by reference to a book on C++. IMO these forums are not a source of one-to-one tuition; if a student is really having that much difficulty with a simple exercise they should be discussing the matter with their tutor.

    I'd disagree about programming being merely a question of variable manipulation; much more important (IMO) is the selection of the appropriate way to represent and structure data.
  6. Data in a way, is a group of variables, though I agree with your description more than mine. Programming also involves a lot of logic too - bad logic can lead to big, stubborn bugs.

    A Google search is also a handy way to find out something. Wikipedia helps too, though in other, less direct ways (depending on what you're after).
Ask a new question

Read More

Programming Apps