if quiz review

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

What is the output:

println (17/6);

1

What is the output:

println(17%6)

1

Select the legal variable names:

1

Write a statement that will declare a float named myNum.

1

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

1

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