Conditional Statements
Irfan Elahi
Chapter Chapter 6 in Scala Programming for Big Data Analytics, 2019, pp 81-93 from Springer
Abstract:
Abstract In life, we make a number of decisions at different moments. For example, if it’s raining then we will not play outside; if a customer is susceptible to be churned, then we will use a particular marketing approach, and so on. There are many examples of conditional statements like this. Similarly, in programming, at different instances we have to consider a number of decisions and based on the results, decide the logic/flow of the program. For example, if a username exists and if the password matches, the user will be able to log in; otherwise, they are denied access. If we don’t make these decisions, there can be no notion of intelligence in our programs and thus their usefulness is severely limited.
Date: 2019
References: Add references at CitEc
Citations:
There are no downloads for this item, see the EconPapers FAQ for hints about obtaining it.
Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.
Export reference: BibTeX
RIS (EndNote, ProCite, RefMan)
HTML/Text
Persistent link: https://EconPapers.repec.org/RePEc:spr:sprchp:978-1-4842-4810-2_6
Ordering information: This item can be ordered from
http://www.springer.com/9781484248102
DOI: 10.1007/978-1-4842-4810-2_6
Access Statistics for this chapter
More chapters in Springer Books from Springer
Bibliographic data for series maintained by Sonal Shukla () and Springer Nature Abstracting and Indexing ().