What would the output from the following be:

```
int x = 3 0 ;
for ( int i=x ; i < 4 0 ; i++)
{
i f ( i < 35)
System . out . p r i n t l n ( " i i s l e s s than 35" ) ;
el se i f ( i == 35)
System . out . p r i n t l n ( " i i s 35" ) ;
el se
System . out . p r i n t l n ( " i i s g r e a t e r than 35" ) ;
}
```


The output is:
i is less than 35
i is less than 35
i is less than 35
i is less than 35
i is less than 35
i is 35
i is greater than 35
i is greater than 35
i is greater than 35
i is greater than 35

Computer Science & Information Technology

You might also like to view...

Linked lists are good data structures for problems that require frequent accesses to random items, especially items in the middle of the sequence.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

A network that covers a wider area, such as several buildings or cities, is called a wide area network or WAN.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

You can write slide content in one language and present it in another language by using the ________ tool to change it to the other language

A) Research B) Translate C) Convert D) Bilingual

Computer Science & Information Technology

The simplest possible sort involves two values that are out of order.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology