Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~10.2K People Reached
Favorite Forums
Favorite Tags
c++ x 43

7 Posted Topics

Member Avatar for davids2004

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, …

Member Avatar for davids2004
0
673
Member Avatar for davids2004

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 …

Member Avatar for davids2004
0
171
Member Avatar for M^2

You will need to include this to set width #include <iomanip> Then use setw (#)

Member Avatar for davids2004
0
127
Member Avatar for davids2004

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 …

Member Avatar for VernonDozier
0
150
Member Avatar for alias120

Yea you do not have to use the parentheses around the 0 either after return. You can just do return 0;

Member Avatar for davids2004
0
160
Member Avatar for davids2004

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, …

Member Avatar for davids2004
0
9K
Member Avatar for davids2004

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 …

Member Avatar for davids2004
0
402

The End.