No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
7 Posted Topics
Ok I have everything pretty much working except for one small detail. When I do inpatient I need to display the room charges as well as the medication and labs and services. It only displays the medication and labs and services charges but in the total includes the room charges, … | |
The code is pretty easy to understand what I am doing. You basically pick a number 1-4 and it will do either addition, subtraction, multiplication, or division. What I need it to do is after they do a problem it loops back and lets them do it again, until they … | |
Re: You will need to include this to set width #include <iomanip> Then use setw (#) | |
Write a program that calculates how much a person earns in a month if the salary is one penny the first day and doubles each day worked. [B]The program should ask the user for the number of days worked during the month[/B] and should display a table showing how much … | |
Re: Yea you do not have to use the parentheses around the 0 either after return. You can just do return 0; | |
I do not want a negative number input for radius, length, width, base, height. How would I do this. My code is below. It should be pretty self explanatory. Thanks. [CODE][code=syntax] #include <iostream> #include <cmath> using namespace std; int main () { double const pi=3.14159; int radius, length, width, base, … | |
I am trying to write a program that can be used to display two random numbers to be added together. This program should wait for the answer to be input. If the answer is correct display a statement that says that is correct. If the answer is wrong it needs … |
The End.