Log in
Sign up for FREE
arrow_back
Library

if quiz review

star
star
star
star
star
Last updated over 6 years ago
6 questions
Note from the author:
Processing Review for if
1
1
1
1
Question 4
4.

Write a statement that will declare a float named myNum.

1
1
Question 1
1.

What is the output:

println (17/6);

Question 2
2.

What is the output:

println(17%6)

Question 3
3.

Select the legal variable names:

Question 5
5.

What is the output?
int i=3;
if(i<10)
println("hello");
println("goodbye");

Question 6
6.

int b=3, c=14;
if(b<10)
println("hello");
if(c<10)
println("howdy");
println("goodbye");