Skip to content

Latest commit

 

History

History

hello-world

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Hello World

Welcome to Hello World on Exercism's Swift Track. If you need help running the tests or submitting your code, check out HELP.md.

Instructions

The classical introductory exercise. Just say "Hello, World!".

"Hello, World!" is the traditional first program for beginning programming in a new language or environment.

The objectives are simple:

  • Write a function that returns the string "Hello, World!".
  • Run the test suite and make sure that it succeeds.
  • Submit your solution and check it at the website.

If everything goes well, you will be ready to fetch your first real exercise.

Check out the test cases and expected results in HelloWorldTests.swift. Here are some test examples.

  • Calling hello() returns "Hello, World!"
  • Calling hello("Alice") returns "Hello, Alice!"

Source

Created by

  • @masters3d

Contributed to by

  • @AlwynC
  • @bhargavg
  • @bobdel
  • @hankturowski
  • @jonallured
  • @lyuha
  • @namratabandekar
  • @ThomasHaz

Based on

This is an exercise to introduce users to using Exercism - http://en.wikipedia.org/wiki/%22Hello,_world!%22_program