In this tutorial, you will learn the following:
- Conditional Statement (Switch Statement). Switch Statement is a conditional statement meaning that a certain condition being true will cause a particular block of code to be executed and being false will thereby cause another block of code to be executed.
You would need the following inorder to following this tutorial:
- An Integrated Development Environment(IDE) installed that can run Java (e.g Netbeans, Eclipse)
- JDK 1.X installed on your Pc
- Of course willingness to learn
Difficulty
- Intermediate
Description
The Switch statement is being explained here and a simple application is created where the user inputs a certain value ranging from 1 - 7 and then is being firstly told what day of the week the value stands for (i.e 1 = Monday, 5 = Friday).
The Application is then changed to indicate if the value enetered falls under Week days or Week ends (i.e Monday is Week Day and Friday is Weekend)
Video Tutorial Link:
Curriculum
Below are a list of related videos that will make you understand this better!
NB: This video has only being shared on my Youtube Channel
Posted on Utopian.io - Rewarding Open Source Contributors
@originalWorks
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Thank you for the contribution. It has been approved.
You can contact us on Discord.
[utopian-moderator]
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Hey @edetebenezer I am @utopian-io. I have just upvoted you!
Achievements
Community-Driven Witness!
I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!
Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit