send link to app

TernaryOperator app for iPhone and iPad


4.8 ( 2608 ratings )
Utilities
Developer: Mike Courtney
Free
Current version: 1.1, last update: 1 year ago
First release : 16 Feb 2023
App size: 21.79 Mb

The ternary operator is also called "ternary operator" and "conditional operator". The function of the ternary operator is to judge, which can be understood as a simplified version of if conditional judgment. Ternary operator, which requires three data to operate. Format: data type variable name=condition judgment? Expression A: Expression B; First, judge whether the condition is tenable; If true, assign the value of expression A to the left variable; If it is false, assign the value of expression B to the variable on the left. Using this application, you can not only practice the ternary operator, but also get the maximum and minimum value between two numbers through the ternary operator.