Skip to content

meng-ucalgary/ensf-593-assignment-0

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ENSF-593 Assignment 0

An assignment to practice github steps.

Author: Bhavyai Gupta

What to do

  1. Clone this repository to your local computer.
  2. Change author information in README.md and src/HelloWorld.java to your first and last name
  3. Edit src/HelloWorld.java such that the output is changed from 'Hello World!' to 'Hello yourname!', e.g. 'Hello Laura!'.
  4. Verify that the output is correct by running src/HelloWorld.java.
  5. Add your changes to git with git add src/HelloWorld.java, followed by git commit -m 'Changed greeting'
  6. Create a screenshot of the terminal showing successful execution, save as screenshot.png in this directory.
  7. Edit README.md (this file) and update the How to run the program section to match your program.
  8. Commit both modified README.md and screenshot.png to git.
  9. Push local git history to github git push origin master

Note that README.md is a markdown file. Special syntax takes care of formatting. There are many cheat-sheets online to get you started. Here is a cheat sheet

How to run the program

The Java program src/HelloWOrld.java greets the world. To run from command line, first compile with javac -sourcepath src/ -d bin/ src/HelloWorld.java and run with java -cp bin/ HelloWorld. See screenshot below for an example terminal session.

Example screenshot

About

An assignment on GitHub basics

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages