this program has to take two strings and compare their length, then tell you which one is longer (
string-b) and by how much
- no using
.lengthor other built-in length checking methods (duh!)
- no using addition or subtraction, this includes improvised addition/subtraction, in case you find some sort of weird improvisation.
<(greater then/less then) inside
if-elsestatements (you can use them in loops though), this obviously includes
>=etc. and no cheating (
bool = a > b;if(bool))
- emphasis is on short rather then efficient code
- oh yeah almost forgot... good luck!