Jason Gibbs 3154b2b010 Greeting Loop Altered# 6 年 前
.DS_Store initial commit 6 年 前
Hello.class Greeting Loop# 6 年 前
Hello.ctxt Greeting Loop# 6 年 前
Hello.java Greeting Loop# 6 年 前
Main.class Greeting Loop Altered# 6 年 前
Main.ctxt Greeting Loop# 6 年 前
Main.java Greeting Loop Altered# 6 年 前
README.TXT initial commit 6 年 前
README.md initial commit 6 年 前
package.bluej Greeting Loop# 6 年 前

README.md

ZCW-MicroLabs-JavaFundamentals-AliceAndBob

Fork this Repository

  • You should work on this project in your own repository.
  • Click the fork button in the top right corner to create a copy of this repository on your github account.
  • You can go through the GitHub forking tutorial if you need additional practice with this.

Alice and Bob Greeting

Topics

  • object instantation/declaration
  • method invokation
  • operators
  • user input

Overview

  • Write a program which prompts the user to input his/her name.
  • The program should greet users whose names are 'Alice' and 'Bob'.

Unit Test

  • No Unit Test

Instructions

  1. Understand how to get input from user
  2. Create conditional to check against Alice and Bob
  3. Print greeting to screen if Alice or Bob are true

What's next?

  • The next lab can be founds here.