Java Decision Programming

4.8
stars
24 ratings
Offered By
Coursera Project Network
2,251 already enrolled
In this Guided Project, you will:

Use the Else statement when the If condition is false.

Use Nested If-Else statements to determine sign.

Use a Switch construct to determine the month.

Clock2 hours
IntermediateIntermediate
CloudNo download needed
VideoSplit-screen video
Comment DotsEnglish
LaptopDesktop only

In Java, as in other programming languages, a decision construct is used to control the sequence of instructions that are executed under certain conditions. It allows the programmer the power to take certain actions based on various input conditions. In this project you will create an application that yields a zodiac sign based on an input of birth month and day. Note: This course works best for learners who are based in the North America region. We’re currently working on providing the same experience in other regions.

Skills you will develop

SwitchDecision LogicIf ElseJava ProgrammingVisual Studio Code

Learn step-by-step

In a video that plays in a split-screen with your work area, your instructor will walk you through these steps:

  1. Create the Java Class and Input the Decision Data for the If Statement.

  2. Use the Else statement when the If condition is false.

  3. Use Nested If-Else statements to determine sign.

  4. Use a Switch construct to determine the month.

  5. Create a Compound Condition with Conditional Operator Ternary and Prevent Invalid Values.

How Guided Projects work

Your workspace is a cloud desktop right in your browser, no download required

In a split-screen video, your instructor guides you step-by-step

Reviews

TOP REVIEWS FROM JAVA DECISION PROGRAMMING

View all reviews

Frequently asked questions

Frequently Asked Questions

More questions? Visit the Learner Help Center.