Conditionals and Loops + Calculator Program
Kunal Kushwaha Kunal Kushwaha
602K subscribers
628,218 views
0

 Published On Aug 6, 2021

In this video, we discuss conditionals and loops in Java. We cover if-else statements, adding multiple checks, for, while, do-while loops.

In addition to this, we also cover some questions to apply things into practice, and also create a calculator program.

Take part in the learning in public initiative! Share your learnings on LinkedIn and Twitter with #DSAwithKunal & don't forget to tag us!

πŸ‘‰ Resources
- Join Replit: http://join.replit.com/kunal-kushwaha
- Complete Java DSA playlist: Β Β Β β€’Β JavaΒ +Β DSAΒ +Β InterviewΒ PreparationΒ Co...Β Β 
- Code, Assignments, & Notes: https://github.com/kunal-kushwaha/DSA...

➑️ Connect with me: https://www.techwithkunal.com

=========================================
Timestamps:
0:00 Introduction β€Œβ€β€β€β€Œβ€Œβ€β€ β€Œβ€β€β€Œβ€ β€Œβ€β€β€Œβ€β€β€Œβ€ β€Œβ€β€β€Œβ€β€Œβ€β€Œ β€Œβ€β€β€Œβ€β€β€β€Œ β€Œβ€Œβ€β€β€Œ β€Œβ€Œβ€β€β€
0:43 Creating New Project
1:28 Conditions
2:15 Syntax of if-else statements
2:54 E1 : if-else statements
4:56 Multiple if-else statements
7:20 Loops
8:46 Syntax of a "for loop"
9:28 E2 : for loop
12:40 E3 : for loop
14:23 Syntax of a "while loop"
14:48 E4 : while loop
17:00 When to use "for loop" and "while loop"
17:57 Syntax of a "do while loop"
18:22 E5 : do while loop
18:57 "while loop" vs "do while loop"
20:44 Solving Questions
20:51 Q1 : Largest number
28:12 Q2 : Alphabet case check
35:03 Q3 : Fibonacci numbers
43:00 Q4 : Counting occurrences
49:14 Q5 : Reverse
53:07 Calculator program
1:01:54 Outro

#loops #placement #dsa #interviews

show more

Share/Embed