1. Don't use non-descriptive variable names like "k"
2. main should be declared as returning an int and thusly return something.
3. Variables should be declared on their own lines and always initialized
4. A comment or two wouldn't go amiss
1. Don't use non-descriptive variable names like "k"
2. main should be declared as returning an int and thusly return something.
3. Variables should be declared on their own lines and always initialized
4. A comment or two wouldn't go amiss
"No-one else has reported this problem, you're either crazy or a liar" - Dogbert Technical Support
"Have you tried turning it off and on again?" - The IT Crowd