Jun-04-2021, 05:03 PM
(This post was last modified: Jun-04-2021, 05:03 PM by deanhystad.)
Why convert input to an int? Are you doing math? If you don't need need a number variable why go to the extra hassle of using a number variable.
If your program converts C to F or F to C why does the user have to enter 1 or 2? Why not have the user enter F or C
The problem description mentions 2 options but your program has 3. You can convert from F to C, from C to F, or not do any conversion at all. Is that what you want?
If your program converts C to F or F to C why does the user have to enter 1 or 2? Why not have the user enter F or C
The problem description mentions 2 options but your program has 3. You can convert from F to C, from C to F, or not do any conversion at all. Is that what you want?