what is the significance of this

P

Prem Mallappa

Hello

can anybody please tell me what is the significance of

0;
1;

or something like

100;

thanks
 
A

Allan Bruce

Prem Mallappa said:
Hello

can anybody please tell me what is the significance of

0;
1;

or something like

100;

thanks

Must be a common homeworks assessment today ;-)
 
A

ArWeGod

Prem Mallappa said:
can anybody please tell me what is the significance of
0;
1;
100;
thanks

1. 0
2. 1
3. 100

Numbers. Not assigned, not used, just numbers.

What is the significance of 38,000,000?
The amount I could have won in the lottery.
 
T

Thomas Matthews

Prem said:
Hello

can anybody please tell me what is the significance of

0;
1;

or something like

100;

thanks

You would have better answers if you posted to a math
newsgroup.

Zero (0) is the almighty nothing. It is significant
because you can't divide by it (or if you did, the
result would go on forever). Another significance
is that you can multiply any number by zero and get
the same result: 0. Zero is significant enough
that many processors have a "jump on zero"
instruction. There is even a song about zero,
I suggest you search for "Schoolhouse Rock" and
"My Hero Zero". This leads to the fact that
zero is a place holder allowing numbers greater
than 9. Zero is also used to represent FALSE.

One (1) is very solitaire. It is lonely. When
added to another integer, it produces the next
one in a sequence. When you multiply by one,
you get your original number back. It can also
be used to represent TRUE.

As for 100, there must be at least a hundred
reasons as to why it is significant.

--
Thomas Matthews

C++ newsgroup welcome message:
http://www.slack.net/~shiva/welcome.txt
C++ Faq: http://www.parashift.com/c++-faq-lite
C Faq: http://www.eskimo.com/~scs/c-faq/top.html
alt.comp.lang.learn.c-c++ faq:
http://www.raos.demon.uk/acllc-c++/faq.html
Other sites:
http://www.josuttis.com -- C++ STL Library book
 
K

Kevin Easton

Thomas Matthews said:
Zero (0) is the almighty nothing. It is significant
because you can't divide by it (or if you did, the
result would go on forever). Another significance
is that you can multiply any number by zero and get
the same result: 0. Zero is significant enough
that many processors have a "jump on zero"
instruction. There is even a song about zero,
I suggest you search for "Schoolhouse Rock" and
"My Hero Zero".

Or alternatively, "Zero" by the Smashing Pumpkins...

- Kevin.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,078
Messages
2,570,572
Members
47,204
Latest member
MalorieSte

Latest Threads

Top