Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Say B question

 
Matthew Phillips
Ranch Hand
Posts: 2676
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
On Say B I received the nitpick "What happens if you input the number ten billion one (10000000001) ?" When should the coma be included, or more specifically, when should it not be included? Thanks in advance for everyone's input.
Matthew Phillips
 
Johannes de Jong
tumbleweed
Bartender
Posts: 5089
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Matthew I saw a posting somwhere by Paul that the commas could be excluded. I dond know what Marilyn wants though. I did include them. I used my own comma style and did not get nitpicked on that part of my attempts.
Good luck
[This message has been edited by Johannes de Jong (edited May 12, 2001).]
 
Marilyn de Queiroz
Sheriff
Posts: 9059
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"ten billion, one" is acceptable. But you didn't tell us what your output was when you ran your code.

[This message has been edited by Marilyn deQueiroz (edited May 12, 2001).]
 
Rick Prevett
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So Marilyn, are commas a requirement for the assignment?
 
Marilyn de Queiroz
Sheriff
Posts: 9059
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Commas are not critical to passing this assignment.
 
Rick Prevett
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the comma clarification Marilyn. My life just got easier
rick
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic