Search:

Type: Posts; User: Unitize

Search: Search took 0.10 seconds.

  1. Replies
    10
    Views
    1,082

    Re: Pi calculating help.

    i dont know what a for loop does...
  2. Replies
    10
    Views
    1,082

    Re: Pi calculating help.

    the denominator is increasing by 2, and its alternating between - and +. so i would need to multiply -1 to every number. But i dont know how to implement this as im this is like my 6th day of...
  3. Replies
    10
    Views
    1,082

    Re: Pi calculating help.

    i know the basics of it but i was hoping someone would walk me through the steps.

    --- Update ---



    import java.util.Scanner;

    public class Pi
    {
  4. Replies
    10
    Views
    1,082

    Re: Pi calculating help.

    anyone help?
  5. Replies
    10
    Views
    1,082

    Pi calculating help.

    Hi im extremly new to programming, and this is a school project i need help with.
    I'm supposed to take an input from the user and calculate the value of pi using this formula: 1/1 - 1/3 + 1/5 -...
Results 1 to 5 of 5