How can I created window console application that read these:
-
The first line of the output should use the %d place holder in the format string to print the number 42. The second line should use the %c placeholder to print the letter J. The third line should use the %f placeholder to print the number 3.14159 with 6 decimal digits after the decimal (this is the default)
-
The first line of the output should use the %d place holder in the format string to print the number 42. The second line should use the %c placeholder to print the letter J. The third line should use the %f placeholder to print the number 3.14159 with 6 decimal digits after the decimal (this is the default)
smells like homework - read your lecture notes & textbook, then post back whatever actual code you have written - we don't write code, especially homework for people - it makes them lazy and us annoyed, and your teacher/professor/whatever can smell copied/stolen works a mile off
-
The first line of the output should use the %d place holder in the format string to print the number 42. The second line should use the %c placeholder to print the letter J. The third line should use the %f placeholder to print the number 3.14159 with 6 decimal digits after the decimal (this is the default)