still need intelligent help

import java.text.NumberFormat;

import java.text.DecimalFormat;

import java.util.Locale;

import java.util.Scanner;

publicclass prog2

{

publicstaticfinaldouble pi = 3.14159265;

publicstaticvoid main(String[] args)

{

double lmb = 500.5;

double cpsfmb = 50.25;

double cpsft = 5.50;

int wmb = 200;

int dbsa = 110;

int awpy = 60500;

int dsa = 210;

int lsa = 100;

int tpssa = 10;

int ypa = 25;

Scanner keyboard =new Scanner(System.in);

DecimalFormat pattern1=new DecimalFormat("########0.0");

System.out.println("Please enter the number of cooling towers +

the height of cooling towers, and the radius of cooling towers");

System.out.println("(no decimals) please press\" ENTER\" after each entry:");

double nct = keyboard.nextDouble();

double hct = keyboard.nextDouble();

double rtc = keyboard.nextDouble();

double square = (lmb * wmb);

System.out.println("The number of square feet in the main building is" + square);

System.out.println();

double towers = ((((((nct * 2)*pi) * rtc)*hct) + rtc));

System.out.println("The number of surface square feet in the towers is" + towers);

System.out.println();

double constructionbld = (square * cpsfmb);

double constructiontwr = (towers * cpsft);

System.out.println("The total cost of bulding the main building is" + constructionbld);

System.out.println();

System.out.println("The total cost of bulding the towers is" + constructiontwr);

System.out.println();

double totalcost = (constructionbld + constructiontwr);

System.out.printf("The total cost of bulding the main building and the tower is $%.2f"+ totalcost);

System.out.println();

double waste = (awpy * ypa);

System.out.println("The amount of waste generated per year is" + waste);

System.out.println();

double storage = (lsa/2) *(dbsa- tpssa)*(dsa- tpssa);

System.out.println("The present storage capacity is" + storage);

System.out.println();

double plant = (waste - storage);

System.out.println("The additional amount of plant storage capacity is" + plant);

}

}

[3903 byte] By [drag_racer_123a] at [2007-10-2 0:52:17]
# 1
And the question is... O_o
jbisha at 2007-7-15 18:11:56 > top of Java-index,Java Essentials,Java Programming...
# 2
Already answered here: http://forum.java.sun.com/thread.jspa?threadID=667128
PhHeina at 2007-7-15 18:11:56 > top of Java-index,Java Essentials,Java Programming...
# 3
> still need intelligent helpStill need intelligent question. And not duplicated.
warnerjaa at 2007-7-15 18:11:56 > top of Java-index,Java Essentials,Java Programming...
# 4
Abuse reported.
CeciNEstPasUnProgrammeura at 2007-7-15 18:11:56 > top of Java-index,Java Essentials,Java Programming...
# 5
> Abuse reported.On the OP, I hope ?!
PhHeina at 2007-7-15 18:11:56 > top of Java-index,Java Essentials,Java Programming...
# 6
> On the OP, I hope ?!Sure. I wouldn't call abuse on the "sheriff". ;)
CeciNEstPasUnProgrammeura at 2007-7-15 18:11:56 > top of Java-index,Java Essentials,Java Programming...
# 7
@OPStop posting the same over and over. I gave you an answer in one of your previous threads.Better be quick before your threads get deleted (and the answer).
prometheuzza at 2007-7-15 18:11:56 > top of Java-index,Java Essentials,Java Programming...
# 8
> Better be quick before your threads get deleted (and> the answer).And the account.
CeciNEstPasUnProgrammeura at 2007-7-15 18:11:56 > top of Java-index,Java Essentials,Java Programming...