The Following User Says Thank You to bandora For This Useful Post: | ||
|
2013-09-20
, 04:49
|
Posts: 1,048 |
Thanked: 979 times |
Joined on Mar 2008
@ SF Bay Area
|
#2
|
cout << "Gross Amount: ............ $" << whatever << endl; cout << "Federal Tax: ............. $" << whatever << endl;
|
2013-09-20
, 04:53
|
|
Posts: 1,338 |
Thanked: 1,055 times |
Joined on Oct 2009
@ California, USA / Jordan
|
#3
|
You don't have to be creative: You already have the correct number of "." characters in the sample output that you gave...
So:
Code:cout << "Gross Amount: ............ $" << whatever << endl; cout << "Federal Tax: ............. $" << whatever << endl;
The Following User Says Thank You to bandora For This Useful Post: | ||
|
2013-09-20
, 04:57
|
Posts: 2,225 |
Thanked: 3,822 times |
Joined on Jun 2010
@ Florida
|
#4
|
The Following 5 Users Say Thank You to Mentalist Traceur For This Useful Post: | ||
|
2013-09-20
, 05:17
|
Posts: 2,225 |
Thanked: 3,822 times |
Joined on Jun 2010
@ Florida
|
#5
|
|
2013-09-20
, 11:41
|
|
Posts: 528 |
Thanked: 345 times |
Joined on Aug 2010
@ MLB.AU
|
#6
|
|
2013-09-20
, 15:43
|
|
Posts: 1,455 |
Thanked: 3,309 times |
Joined on Dec 2009
@ Rochester, NY
|
#7
|
The Following 4 Users Say Thank You to woody14619 For This Useful Post: | ||
|
2013-09-20
, 16:26
|
Posts: 2,225 |
Thanked: 3,822 times |
Joined on Jun 2010
@ Florida
|
#8
|
|
2013-09-20
, 17:02
|
Posts: 1,141 |
Thanked: 781 times |
Joined on Dec 2009
@ Magical Unicorn Land
|
#9
|
|
2013-09-20
, 19:12
|
|
Posts: 528 |
Thanked: 345 times |
Joined on Aug 2010
@ MLB.AU
|
#10
|
The Following User Says Thank You to bingomion For This Useful Post: | ||
I know this might sound silly... But I need help in a simple thing...
So the output of the code should look like this..
Here's my code so far:
Thanks in advance.
EDIT: And just so you can be filled in on what I'm talking about.. This is what the homework says..
FarahFa.com
Last edited by bandora; 2013-09-20 at 04:48. Reason: Updated the code and fixed some of the issues..