CJCoding With Joseph

Convert an Int to a String

Declare int year = 2026. Convert it to a string using .ToString(), store the result in text, then print text:

2026

Expected Output:

2026
Topics:
Variables
Code Editor
1
Tab to indent ยท Ctrl+Enter to run ยท Ctrl+Space to expand shortcuts (cw, cr, fori)

Your Output

Run your code to see the output here...

Test Cases

Run your code to see test case results.