Skip to content

Instantly share code, notes, and snippets.

@froilan-miranda
Created September 8, 2016 19:38
Show Gist options
  • Save froilan-miranda/7e4102b49464c5fdffa60b67126f4599 to your computer and use it in GitHub Desktop.
Save froilan-miranda/7e4102b49464c5fdffa60b67126f4599 to your computer and use it in GitHub Desktop.

Alice and Bob Greeting

Objectives

  1. To demonstrate your understanding of objects
  2. To demonstrate your understanding of operators
  3. To demonstrate your understanding of user input
  4. To demonstrate your understanding of strings

Overview

Write a program that asks the user for his/her name and only the users Alice and Bob are greeted with their names.

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment