User Tools

Site Tools


contest_2011-08-23_practice

This is an old revision of the document!


110100 Getting Started

Use this practice problem to make sure you've got PC^2 working. Write a program that reads input and generates output as described below.

Input

Input consists of one line of text.

Output

Echo the input line to output. Print a second line that consists of the string “hello world”, except the first letter is capitalized and the sentence ends with an exclamation point.

Sample Input

  this is a test

Sample Output

  this is a test
  Hello world!
contest_2011-08-23_practice.1314115640.txt.gz · Last modified: 2011/08/23 09:07 by jtkorb