I wasn't mad. But, yes, the "code" in your first post was completely nonsensical and, if anything, my initial comments were gentler than warranted.
Type: Posts; User: grumpy
I wasn't mad. But, yes, the "code" in your first post was completely nonsensical and, if anything, my initial comments were gentler than warranted.
If your teacher is requiring you to reverse digits in floating point, s/he should be summarily fired for incompetence. If you have decided you need to use floating point variables, you are badly...
Just to be clear, I wrote my "you're kidding" comment BEFORE you inserted single quote characters into the code sample.
You're kidding, eh, camel-man.
No it is not.
There are plenty of other problems in your "code" as well. But the nature of them makes it obvious you are just tapping away at your keyboard, rather than trying to understand...