Search:

Type: Posts; User: moucho

Search: Search took 0.07 seconds.

  1. Thread: Help wi this

    by moucho
    Replies
    4
    Views
    1,153

    Re: Help wi this

    this is wat ive done but i dont know if its the right program the question


    import java.util.Scanner;
    public class Maths1{

    public static void main( String[] args)
    {
    Scanner input = new...
  2. Thread: Help wi this

    by moucho
    Replies
    4
    Views
    1,153

    Help wi this

    Anybody know how to write this program

    Write a program that asks the user to enter a positive integer, n, and compute the following sum:
    20 + 22 + 23 + ... + 2n


    Hint: use the following to...
Results 1 to 2 of 2