Answers for "how to print a int"

1

print(int())

print(int())

output: 0
Posted by: Guest on July-01-2021
0

print an integer in java

public class HelloWorld {
    public static void main(String[] args) {
        int number = 45;
        System.out.println("You entered: " + number);
        // output => You entered: 45
    }
}
Posted by: Guest on March-04-2021

Python Answers by Framework

Browse Popular Code Answers by Language