Search:
Type: Posts; User: Sabensohn70
Search:
Search took 0.02 seconds.
-
March 1st, 2010, 04:26 PM
Hi guys, I can't seem to use setprecision, right, setw, or fixed on my outFILE lines. nothing happens. I need to get all the decimals to line up and the numbers are on the right side.
this is my...
-
March 1st, 2010, 01:54 PM
but now i dont know how to display the file like this..
bash-2.04$ a.out
Please enter the month for this report: February
Please enter the year for this report: 2005
Please enter the total...
-
March 1st, 2010, 01:49 PM
oops nevermind i forgot a ; on line 15.
-
March 1st, 2010, 01:43 PM
Hi guys, I have to write a monthly charge program where you it asks for the user to enter the month year and income, and the program will calculate it product sales tax with the equation S=T/1.06....
-
November 24th, 2009, 04:13 AM
okay well maybe the programming world is not for me then im just a student trying to pass the class that my teacher did not teach because i asked 5/25 students in the class and the teacher did not...
-
November 24th, 2009, 01:29 AM
..dude i am reading my textbook and it doesnt say anything about making bar charts with the for loop. if you are not going to try to help please do not answer at all okay? believe it or not there are...
-
November 24th, 2009, 01:19 AM
you weren't helping period. im reading starting out with c++ by tony gaddis in the "for statement" section and i dont see anything. Please do not reply to my thread anymore if you are not going to...
-
November 23rd, 2009, 08:41 PM
im thinking for ( store1 = 0; store1 / 100; ++store1 ) ? this doesnt work
-
November 23rd, 2009, 08:21 PM
the other one wasnt as descriptive...
#include<iomanip>
using namespace std;
int main()
{
int store1, store2, store3, store4, store5;
-
November 23rd, 2009, 08:15 PM
so far this is what i got..
#include<iomanip>
using namespace std;
int main()
{
int store1, store2, store3, store4, store5;
-
November 23rd, 2009, 08:11 PM
can you please just help me out? I've never learned this material before. Im suppose to make a bar chart where store1=1000, store2= 1200, store3=1800, store4= 800, store5 =1900. and each asterisk...
-
November 23rd, 2009, 07:57 PM
yeah so how would i make it so the users input each represent 100 in the chart?
-
November 23rd, 2009, 07:42 PM
Hi guys, how do i make a bar chart with the for loop where each asterisk represents 100 after the user inputs the numbers?
inputs
store1=1000
store2=1200
store3=1800
store4=800
store5=1900
...
-
November 23rd, 2009, 07:17 PM
how would i use the for loop for this?
-
November 22nd, 2009, 07:27 PM
Can somebody help me with making a bar chart in C++ ?
I have to make a bar chart where each * represents 100. It should display like this after the user has inputted the cin for store sales.
...
-
November 17th, 2009, 06:28 PM
what i mean is how do i combine it to my code?
while ( store1 % 100 != 0 && store1 < 0 || store1 > 4000 )
i tried that
-
November 17th, 2009, 05:59 PM
well i'ts just a simple program assignment and my teacher has already given us a set of inputs. Could you give me an example of using the modulus operator for the multiple of 100?
-
November 17th, 2009, 05:48 PM
how would the modulus operator work? isn't the function for the operator to show the remainder of a division problem
-
November 17th, 2009, 05:36 PM
I am suppose to write a code to validate that the users input is between 0-4000 and are multiples of 100. How do i write a code to ensure that the cin is multiples of 100? So far i have
cin >>...
-
October 27th, 2009, 04:15 AM
can you show me how to use break and continue in my code please?? also (distance-1/500) because for one of the inputs it is weight 5.0, distance 10 and the desired out put is 2.20.
-
October 27th, 2009, 02:33 AM
oh thanks, can you help me with the program termination? because right now if the weight is out of range and the distance is out of range. it will only say "We only ship packages between 10-3000...
-
October 26th, 2009, 11:44 PM
Hi guys I am suppose to write a program that asks for the weight of the package and the distance it is to be shipped and then displays the charges. I pretty much got every down except i dont know...
-
October 22nd, 2009, 01:35 PM
that is my code so far. my question is what am i suppose to do for the "when calculating the rate, drop fractions of miles and add one for each whole or partial segment of 500 miles".
EDIT: Oh,...
-
October 22nd, 2009, 01:30 PM
-
October 22nd, 2009, 01:27 PM
i would i write this in a code for my program?
|
Click Here to Expand Forum to Full Width
|