Note: This repository is a fork of the CSTA Conference example Java assignment originally created by jeffrafter.
A beginner-friendly Java assignment designed for the CSTA (Computer Science Teachers Association) Conference. The project introduces students to basic standard I/O in Java, covering how to print text to stdout and read user input from stdin.
- Java JDK 8 or higher
-
Clone the repository:
git clone https://github.com/danielcregg/csta-say-hello.git cd csta-say-hello -
Compile the Java files:
javac Hello.java javac HelloName.java
In Hello.java, change the output string so the program prints Hello world! to the console.
Run it with:
java HelloIn HelloName.java, add code that reads the user's name from standard input and then prints a greeting. For example, if the user enters "Alice", the program should output Hello Alice!.
Run it with:
java HelloNamecsta-say-hello/
├── Hello.java # Basic "Hello world" output exercise
├── HelloName.java # User input and greeting exercise
├── .gitignore
├── LICENSE
└── README.md
This project is licensed under the MIT License. See the LICENSE file for details.