Joined
Last Seen
0 Reputation Points
100% Quality Score
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
0 Endorsements
Ranked #31.8K
2 Posted Topics
I am struggling with creating a function that is void. I can write the code inline without a function as follows : #include <iostream> #include <cmath> #include <string> #include <iomanip> using namespace std; int main() { string answer; answer = "Yes"; while ( answer[0] == 'Y' || answer[0] == 'y' … | |
Please help me. I just need an explanation and its really simple! I promise! Here is the assignment and COMPLETED WORKING CODE! // Description : Write a program to read in an object's mass (in pounds) and convert it to both // kilograms and grams. The program should prompt the … |
The End.