C++ programming i need to take the following statements and code them into a void function?
-
You are required to take the following statements and code them into a void function. Name the function: converter feet = loopCounter / 12.0; yards = feet / 3.0; centimeters = loopCounter * 2.54; meters = centimeters/ 100.0; In order for the void function to work some of the parameters will need to be call by value and some will need to be call by reference. Although it is easy to just make them all call by reference it is required that certain parameters be call by value. You have to determine which are which. You will have to write the function prototype, the function call, and the function definition.
-
Answer:
The best place for this kind of question is stackoverflow.com. While there are programmers on AB (including myself), it's not the focus of the site and the site doesn't provide much in the way of supporting tools, like the ability to format answers cleanly as source code, etc. Beyond that, almost any self-respecting programmer is going to criticize a question like this, because it looks like you're not exerting any effort at all on your own behalf. Obviously this is a homework assignment, and while we may wish to help you, we don't want to do all the work for you. You need to write something first which explains what you've tried and what you already understand, and then point to specific areas where you're confused: then more experienced people will help you. They'll explain that very rapidly on stackoverflow.com, as well.. if you visit the site. So I'm just warning you: do some work on your own behalf first, and be specific with your question. Don't post "please do my homework for me" questions, you'll get fried by the responses.
/bigsteveis4u at Answerbag.com Visit the source
Other answers
The answer is shorter than the question. If you can't figure this out, you're gonna fail your course.
TheGrimExPat
Related Q & A:
- I need help with writing up the Java Code.Best solution by Yahoo! Answers
- What classes do I need to take to become a forensic scientist?Best solution by everydaylife.globalpost.com
- What are the courses I need to take in high school to become a zoologist?Best solution by Yahoo! Answers
- What are the steps I need to take to be a psychologist?Best solution by learn.org
- What do I need to take for my GCSE's to become a lawyer?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.