User Tools

Site Tools


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 consists of one line of text.


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.txt · Last modified: 2011/08/23 09:07 by jtkorb