Use the condition operator (x?y:z) to write a very compact expression that assigns the maximum of variables n1 and n2 to the variable max. You should assume that any variables you use have been declared and initialized appropriately.
What will be an ideal response?
max = (n1>n2) ? n1 : n2;
Computer Science & Information Technology
You might also like to view...
You can create a ________ desktop as an additional desktop to organize and quickly access groups of windows
A) virtual B) secondary C) parent D) child
Computer Science & Information Technology
When you enter a complex formula into a field name, you discover that the entry is difficult because the width of the columns is too small. What is the best solution?
A) You should use Excel for the formula. B) You should use the Zoom option. C) You should change the width of the columns. D) You should not use Access for complex formulas.
Computer Science & Information Technology