Unit 5 If Statements

अब Quizwiz के साथ अपने होमवर्क और परीक्षाओं को एस करें!

aplus howdy

What is the output?

compsci aplus howdy

What is the output?

howdy

What is the output?

-1

What is the output? Test now = new Test( ); out.println( now.try(10) );

6

What is the output? Test now = new Test( ); out.println( now.try(15) );

4

What is the output? Test now = new Test( ); out.println( now.try(33) );

aplus howdy

int a = 1; if (a > 2); out.println("aplus"); out.println("howdy");

aplus howdy

int a = 5; if (a > 2); out.println("aplus"); out.println("howdy");

howdy compsci

int b=11, c=11; if( b < 10 ) out.println("aplus"); if( c > 10 ) out.println("howdy"); out.println("compsci");

compsci

int b=20, c=10; if( b < 10 ) out.println("aplus"); if( c > 10 ) out.println("howdy"); out.println("compsci");

aplus howdy compsci

int b=7, c=11; if( b < 10 ) out.println("aplus"); if( c > 10 ) out.println("howdy"); out.println("compsci");

aplus compsci

int e=7, f=11; if( e < 10 ) out.println("aplus"); if( f < 10 ) out.println("howdy"); out.println("compsci");

aplus compsci

int m=3; if( m < 7) out.println("aplus"); out.println("compsci");

compsci

int m=7; if( m < 7) out.println("aplus"); out.println("compsci");

howdy compsci

int t = 7; if( t > 10) out.println("aplus"); out.println("howdy"); out.println("compsci");

compsci

int t = 7; if( t > 10) { out.println("aplus"); out.println("howdy"); } out.println("compsci");

compsci

int w=52; if(w<10) out.println("aplus"); if(w>10) out.println("compsci");

compsci

int x=13; if( x < 7) out.println("aplus"); out.println("compsci");


संबंधित स्टडी सेट्स

Anatomy Unit 8: Muscle System Quiz

View Set

SIE Questions Review Chapter 1: Equities

View Set

Psychology Chapter 15: sleep and consciousness

View Set

Assignment 22 Medication Administration Part 2: Parenteral Medications

View Set

ICH Guideline E2A. Clinical Safety Data Mgmt

View Set

vocab level h unit 12 completing the sentence

View Set

Il Seicento: 22;5 - Uno sguardo a di là delle alpi

View Set