CJCoding With Joseph
15per day

Age Variable

Using an integer, create a variable to hold your age (use any age value you'd like, such as 25). Then use printf to display the sentence:

I am [age] years old.

Do not type the age number directly in the printf statement. Instead, use the integer variable you created with %d format specifier.

Expected Output:

I am 25 years old.
Topics:
Printing
Code Editor
1
Tab to indent · Ctrl+Enter to run · Ctrl+Space to expand shortcuts (p, fori)

Your Output

Run your code to see the output here...

Test Cases

Run your code to see test case results.