Saurav Kamath 4d80825b77 Created a greeting program that greets the user if their name is Alice or Bob, if not tthe user is told to go away 6 years ago
.DS_Store Created a greeting program that greets the user if their name is Alice or Bob, if not tthe user is told to go away 6 years ago
Main.class Created a greeting program that greets the user if their name is Alice or Bob, if not tthe user is told to go away 6 years ago
Main.ctxt Created a greeting program that greets the user if their name is Alice or Bob, if not tthe user is told to go away 6 years ago
Main.java Created a greeting program that greets the user if their name is Alice or Bob, if not tthe user is told to go away 6 years ago
Main.txt Created a greeting program that greets the user if their name is Alice or Bob, if not tthe user is told to go away 6 years ago
README.TXT initial commit 6 years ago
README.md updated resources link 6 years ago
package.bluej Created a greeting program that greets the user if their name is Alice or Bob, if not tthe user is told to go away 6 years ago

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

Objective:

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

Purpose:

  • To establish familiarity with
    • Control Flow
    • Conditionals
    • User input
    • Object instantation/declaration
    • Method invokation

Resources:

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.