Sunday, March 05, 2006

HOMEWORK 2

package s9226307;
public class s9226307 {
public s9226307() {
}
public static void main(String[] args){
double calories;
int METS;
METS=10*30+8*30+6*60;
calories=METS*0.0175*150/2.2;
System.out.println("The total number of calories burned of a person who's weights is 150 pound "+calories);
}
}

0 Comments:

Post a Comment

<< Home