Kotlin
Java
Return to List
Solve
: Is CS Amazing
Created By: Geoffrey Challen
/ Version:
2021.1.0
Modify the code below so that it prints "CS is amazing!".
For this problem we're expecting just a snippet of codeāso don't provide a method or class declaration.
Working
Previous
int
yourScore
=
80
;
if
(
yourScore
>
90
) {
System
.
out
.
println
(
"CS is amazing!"
);
}
else
{
System
.
out
.
println
(
"CS is hard..."
);
}
Related Lessons
Stuck? You may find these lessons helpful:
Conditional Expressions and Statements
Variables and Types
Hello, world!