double acre = 0.0,
square_mile = 5.0,
square_foot = 0.0,
square_inch = 0.0,
square_km = 0.0,
square_meter = 0.0,
hectare = 0.0,
square_yard = 0.0;
acre = square_mile * 640;
square_foot = square_mile * 2.788e7;
square_inch = square_mile * 4.014e9;
square_km = square_mile * 2.58999;
square_meter = square_mile * 2.59e6;
hectare = square_mile * 258.999;
square_yard = square_mile * 3.098e6;
print("acre:$acre \nsquare_foot:$square_foot\nsquare_inch:$square_inch\nsquare_km:$square_km\nsquare_meter:$square_meter\nhectare:$hectare\nsquare_yard:$square_yard");
}
No comments:
Post a Comment