1. Write a program to estimate Pl using the following formula. PI(i) = 4 (1-1/3 + 1/5 - 1/7 + 1/9 - 1/11...) 2. Write a program to print out the following triangle. 3. Write a program to print out the following diamond.

C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter4: Selection Structures
Section4.3: Nested If Statements
Problem 3E
icon
Related questions
Question

finish assignments C#

1. Write a program to estimate Pl using the following formula.
PI(i) = 4 (1-1/3 + 1/5 - 1/7 + 1/9-1/11 ...)
2. Write a program to print out the following triangle.
3. Write a program to print out the following diamond.
Transcribed Image Text:1. Write a program to estimate Pl using the following formula. PI(i) = 4 (1-1/3 + 1/5 - 1/7 + 1/9-1/11 ...) 2. Write a program to print out the following triangle. 3. Write a program to print out the following diamond.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 6 steps with 2 images

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning