Write a program that prompts the user to enter

Write a program that prompts the user to enter an integer and then prints the integer first as a character, then as a decimal, and finally as a float. Use separate print statements. A sample run is shown below.

The number as a character: K

The number as a float: 75

The number as a float: 0.000000

The post Write a program that prompts the user to enter appeared first on My Assignment Online.

Write My Paper Button

WhatsApp Widget