LEARN KOTLIN QUICKLY AND PYTHON CODING PRACTICE EXERCISES: Coding For Beginners by TAM JJ
Author:TAM, JJ [TAM, JJ]
Language: eng
Format: epub
Published: 2021-07-11T00:00:00+00:00
var marks: Int = 65
if (marks < 35 )
println( "You are failed" );
else if (marks < 50 )
println( "You are passed and got third class" );
else if (marks < 60 )
println( "You are passed and got second class" );
else if (marks < 70 )
println( "You are passed and got first class" );
else
println ( "You are passed and got distinction" );
}
Output
You are passed and got first class
You can implement above if-else if-else logic using when expression like below.
WhenDemo.kt
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Deep Learning with Python by François Chollet(12589)
Hello! Python by Anthony Briggs(9926)
OCA Java SE 8 Programmer I Certification Guide by Mala Gupta(9800)
The Mikado Method by Ola Ellnestam Daniel Brolund(9786)
Dependency Injection in .NET by Mark Seemann(9347)
A Developer's Guide to Building Resilient Cloud Applications with Azure by Hamida Rebai Trabelsi(9335)
Hit Refresh by Satya Nadella(8829)
Algorithms of the Intelligent Web by Haralambos Marmanis;Dmitry Babenko(8309)
Sass and Compass in Action by Wynn Netherland Nathan Weizenbaum Chris Eppstein Brandon Mathis(7787)
Test-Driven iOS Development with Swift 4 by Dominik Hauser(7771)
Grails in Action by Glen Smith Peter Ledbrook(7704)
The Kubernetes Operator Framework Book by Michael Dame(7693)
The Well-Grounded Java Developer by Benjamin J. Evans Martijn Verburg(7566)
Exploring Deepfakes by Bryan Lyon and Matt Tora(7489)
Practical Computer Architecture with Python and ARM by Alan Clements(7408)
Implementing Enterprise Observability for Success by Manisha Agrawal and Karun Krishnannair(7390)
Robo-Advisor with Python by Aki Ranin(7364)
Building Low Latency Applications with C++ by Sourav Ghosh(7267)
Svelte with Test-Driven Development by Daniel Irvine(7234)
