โ Back to Printing
Question 5
Integer Output
Integer Output
Create an int variable with the value 100 and use printf with %d to display it in the sentence: The number is: 100 Make sure to use the %d format specifier for printing the integer variable.
Expected Output:
The number is: 100
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.