What this condition is saying, in plain speech is, “Is examScore equal to 100? If so, print some output text”. The example above shows our two pieces of data: examScore and 100 as well as the comparison operator that is being used to evaluate the data: =. We will have a closer look at these operators after a few brief code snippets. Kotlin supports the same primary operators that many other programming languages, like Java. We make this comparison by evaluating a conditional statement which generally consists of two or more pieces of data that are separated by logical operators and/or comparison operators. When you want to measure something against another, you make a comparison or a check.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |