The program below was written using if statements, but then the author decided t
ID: 3852163 • Letter: T
Question
Explanation / Answer
The following highlighted code is the equivalent code fo if conditions.
public class Program
{
public static void main(String args[])
{
indicator = (inputB > 3)?"big":(inputA > 3)?"small":"tiny";
}
}
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.