Пожалуйста, включите JavaScript
Главная
Обзор
Yoda
Portal
Forum
Помощь
Вход
Cohort4.2
/
BlueJ-AliceAndBob
Следить
6
В избранное
0
Форкнуть
40
Код
Задачи
0
Pull Request'ы
39
Релизы
0
Вики
Активность
6
коммитов
1
ветка
ветка:
master
master
веток
Теги
${ item.name }
Создать ветку
${ searchTerm }
из 'master'
${ noResults }
BlueJ-AliceAndBob
/
README.md
README.md
1.1KB
Постоянная ссылка
История
Исходник
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:
Procedural Programming
Unit Test
No Unit Test
Instructions
Understand how to get input from user
Create conditional to check against Alice and Bob
Print greeting to screen if Alice or Bob are true
What's next?
The next lab can be founds
here
.