After attending her first lectures of the course Introduction to Computer Science I, Joan decides to participate in York's programming contest. She reads all the problems and decides to tackle this problem. She manages to solve the problem. Can you solve it too?
Your program takes an integer P, which is greater than 0 and smaller than 10, as its input.
Your program should print the following two lines:
The value of π, pronounced as "pie", is
3.142
Note that the value of π is given by P digits of precision (in the example output above, P is 3). A list of the Unicode code characters can be found at Wikipedia.
java TheFirstQuestion < TheFirstQuestion.in
to check whether her app produced the desired output for the sample input.