CJCoding With Joseph

Print a Long Variable

Declare a long variable named population with the value 7800000000 (use the L suffix), then print it in this sentence:

World population: 7800000000

The number is too big for an int, so long is required.

Expected Output:

World population: 7800000000
Topics:
Printing
Code Editor
1
Tab to indent ยท Ctrl+Enter to run ยท Ctrl+Space to expand shortcuts (sysout, psvm, fori)

Your Output

Run your code to see the output here...

Test Cases

Run your code to see test case results.