Šī lapa labāk darbojas, ja pārlūkam ir pieejams JavaScript
Sākums
Izpētīt
Yoda
Portal
Forum
Palīdzība
Pierakstīties
natehalldev
/
ZCW-AliceAndBob-BlueJ
atdalīts no
Cohort4.2/BlueJ-AliceAndBob
Vērot
1
Pievienot zvaigznīti
0
Atdalīts
0
Kods
Problēmas
0
Izmaiņu pieprasījumi
0
Laidieni
0
Vikivietne
Aktivitāte
7
Revīzijas
1
Atzars
Atzars:
master
master
Atzari
Tagi
${ item.name }
Izveidot atzaru
${ searchTerm }
no 'master'
${ noResults }
ZCW-AliceAndBob-BlueJ
/
README.md
README.md
1.1KB
Patstāvīgā saite
Vēsture
Neapstrādāts
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
.