谁能帮我做下这两个题目、、、应该很简单 但、、、我是新手
1. Design a program, when you enter an integer number that is greater than 100 and less than 1000, the output result is its inverse order. For example, when you input number 563, the output result is 365.2. According to the following formula, please calculate the value of Pai.
Pai/4=1-1/3+1/5-1/7+...