No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
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:
heloo can anyone plz tell me how use functions like power and setw.... in programmes... thanku |
|
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:
Hi there, new to the community and first of all just wanted to say its great to be here. I'm rather new to C++ and i was having an issue perhaps someone could clear up for me. Alright, our instructor for a class im taking would give us simple programs … |
|
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 … |