code help

I need help writting code for the following:

Declare k, d, and s so that they can store an integer, a real number, and a small word (under 10 characters).

Use these variables to first read in an integer, a real number, and a small word and print them out in reverse order (i.e., the word, the real, and then the integer) all on the same line, separated by at least one space from each other.

I guess http://www.cplusplus.com/doc/tutorial/ will answer these nicely
Topic archived. No new replies allowed.