S
Silver
Practice
My progress
Compiler
Sign in
Working…
Practice
›
Java Fundamentals
›
Module 1. Values, Variables & Expressions
›
1.2 Variables
Task
7
of
8
·
0
solved ·
8
to go
0%
1
2
3
4
5
6
7
8
You can read the problem, but answers are checked only for signed-in students.
Sign in to answer →
1.2 Variables — triple it
Total: 0 / 3 pts
Practice mode — check each part and get hints as you go.
Task
Store the number 5 in a variable, triple it, and print the result.
The program prints
15
.
Your solution
public class Main { public static void main(String[] args) { // store a number, triple it, print the result } }
Next task →