本網站在啟用 JavaScript 的情況下可以運作的更好。
首頁
探索
Yoda
Portal
Forum
說明
登入
Cohort4.2
/
BlueJ-AliceAndBob
關注
6
收藏
0
複製
40
程式碼
問題
0
合併請求
39
版本發佈
0
Wiki
活動
6
提交
1
分支
分支:
master
master
分支列表
標籤
${ item.name }
建立分支
${ searchTerm }
from 'master'
${ noResults }
BlueJ-AliceAndBob
HTTPS
ZIP
TAR.GZ
Dominique Clarke
f099e83041
deleted .idea
6 年之前
Main.java
initial commit
6 年之前
README.TXT
initial commit
6 年之前
README.md
updated resources link
6 年之前
package.bluej
initial commit
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
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
.