Week 3 – Boolean & Condition

Part1) Write a Java program which prompts a user for input and depending on that input prints a different value to the console – use if-else statement in your program.

Submit your program as an attached  .java file and post a screen shot to show that you have been able to successfully run that program. Make sure you submission adheres to the SubmissionRequirements document.

Be sure to create a program different from any of the programs already posted by your classmates or the examples in class materials.

Part2) Reply to another student’s post. Modify the student’s program to add another branch to the logic. Submit a screen shot of the execution of the modified code demonstrating when your added code is executed..

Reply to a post which does not have a reply yet or provide a different version of the code.

"Get Help With Your Essay
. If you need assistance with writing your essay, our professional essay writing service is here to help!

Order Now