Kotlin Newbie To Pro - ARRAYS - Part 11

  Рет қаралды 22,960

Philipp Lackner

Philipp Lackner

Күн бұрын

Пікірлер: 13
@srr1424
@srr1424 2 жыл бұрын
How can we take care of the string case? Even if I add a else statement it shows a error message.
@udaytewary3809
@udaytewary3809 Жыл бұрын
Understood philipp
@Darpan358
@Darpan358 4 жыл бұрын
thank you so much. you explain in very easy way.
@PhilippLackner
@PhilippLackner 4 жыл бұрын
Glad it was helpful!
@shubhadanaik9637
@shubhadanaik9637 4 жыл бұрын
Hey Philipp can you tell me the array quiz answer for that question " Which of the following statements is not true for Arrays? " because whichever options i am marking i am getting it as incorrect.
@PhilippLackner
@PhilippLackner 4 жыл бұрын
It's multiple choice, you need to mark multiple answers
@shubhadanaik9637
@shubhadanaik9637 4 жыл бұрын
@@PhilippLackner okay thank you so much and I would like to tell you dt I really like all your videos and I am really improving my self in kotlin. Thanks again.
@hansh.1126
@hansh.1126 3 жыл бұрын
Hello Philipp, I think you should replace the else line of the solution with: else if (age > 65) println("You are really really old") else println("maybe you are not a human") //or something else beacause in your solution the user can type for example -23 and the program shows "you are really really old"
@tiktok4286
@tiktok4286 Жыл бұрын
even this solution don't work it would return nothing
@tiktok4286
@tiktok4286 Жыл бұрын
this is my code but the problem is the second print never execute don't know why fun main() { print("enter your age:") val input= readLine()?.toInt() if (input != null) { if (0>input && input< 18) { print("you are a child") } else if (18>=input && input
@abbasgaming6225
@abbasgaming6225 6 ай бұрын
println("Enter your age") var age=reader.nextInt() if (age>18&&age60){ println("you are really really old ") }else{ println("you are not adult") }
@shreyaray5508
@shreyaray5508 5 ай бұрын
val userAge = readLine() val age = userAge?.toInt() ?: 0 if(age < 18){ println("You are Not Allowed ") } else if(age >= 18 && age
@k2a-seraphinefreyacastro364
@k2a-seraphinefreyacastro364 Жыл бұрын
fun main () { println("Enter your age here:") val age = readLine()?.toInt() if (age != null) { if (age = 18 && age
Kotlin Newbie To Pro - WHILE LOOP - Part 12
11:12
Philipp Lackner
Рет қаралды 19 М.
Kotlin Newbie to Pro - CLASSES - Part 20
18:38
Philipp Lackner
Рет қаралды 23 М.
Wednesday VS Enid: Who is The Best Mommy? #shorts
0:14
Troom Oki Toki
Рет қаралды 50 МЛН
Kotlin Tutorial #17: Using Arrays
6:42
Peter Sommerhoff
Рет қаралды 1 М.
Kotlin Newbie to Pro - LAMBDA FUNCTIONS - Part 28
16:29
Philipp Lackner
Рет қаралды 35 М.
Kotlin Newbie To Pro - LOGICAL AND COMPARISON OPERATORS - Part 8
12:05
Philipp Lackner
Рет қаралды 21 М.
you will never ask about pointers again after watching this video
8:03
Kotlin Newbie To Pro - FUNCTIONS AND PARAMETERS - Part 16
13:12
Philipp Lackner
Рет қаралды 19 М.
Kotlin Android Tutorial for Beginners - #8 Array
6:07
Simplified Coding
Рет қаралды 6 М.
The Let Scope Function Explained (Kotlin)
10:19
Cody Engel
Рет қаралды 4,9 М.