使用 JavaScript能使本网站更好的工作。
首页
探索
Yoda
Portal
Forum
帮助
登录
BDefrancis
/
ZCW-AliceAndBob-BlueJ
派生自
Cohort4.2/BlueJ-AliceAndBob
关注
1
点赞
0
派生
0
代码
工单
0
合并请求
0
版本发布
0
百科
动态
8
提交
1
分支
分支:
master
master
分支列表
标签列表
${ item.name }
创建分支
${ searchTerm }
从 'master'
${ noResults }
ZCW-AliceAndBob-BlueJ
/
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
.