Win a copy of Beginning Java 17 Fundamentals: Object-Oriented Programming in Java 17 this week in the Java in General forum!

Sara Noor

Greenhorn
+ Follow
since Sep 17, 2021
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
1
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Sara Noor

i have an assignments and i don't know how i can do it and make the equation
can you help me please?

Create a program using a for-loop to calculate the value of pi from the infinite series:
pi = 4 – (4/3) + (4/5) – (4/7) + (4/9) – (4/11) + . . .
Allow the user to specify the number of series of computations to approximate the
values of pi.
4 months ago
i want to find the sum of the following series 1 + ½ + ¼ + 1/6 + . . . + 1/100
by using for loop
how i can write the formula?

i use eclipse

i try this code but the answer is 0 whish is wrong

4 months ago