write the program in C, C++, Java or C#. Change variable types accordingly.

Printable View