I1. I am using C++ with the compiler M.S. visual studio so if the code is writte
ID: 3534835 • Letter: I
Question
I1.
I am using C++ with the compiler M.S. visual studio so if the code is written for that it would be very helpful.
1. Write a program that reads in three floating-point numbers and prints the largest of the three inputs.
2. Write a program that first asks the user to type in today’s exchange rate between U.S. dollars and Japanese Yen, then reads the U.S Dollar values and converts each to Japanese Yen. Use 0 as the sentinel value to denote the end of dollar inputs. Then the program reads a sequence of yen amounts and converts them to dollars. The second sequence is terminated by the end of the input file.
Explanation / Answer
1. http://ideone.com/wGGooT
2. http://ideone.com/E2x0LY