class MileConversions
{
public static void main
(String[] args
) {
//Named Constants
final int INCHES_TO_MILES = 63360;
final int FEET_TO_MILES = 5280;
final int YARDS_IN_MILES = 1760;
//Number of miles
int miles = 1;
//Conversions
int totalYards = miles * YARDS_IN_MILES;
int totalFeet = miles * FEET_TO_MILES;
int totalInches = miles * INCHES_TO_MILES;
//Explanatory Text
System.
out.
println("There is " + miles
+ " mile, which is equalivent to:"); System.
out.
println(totalYards
+ " yards"); System.
out.
println(totalFeet
+ " feet"); System.
out.
println(totalInches
+ " inches"); }
}
Y2xhc3MgTWlsZUNvbnZlcnNpb25zIAp7CiAgICBwdWJsaWMgc3RhdGljIHZvaWQgbWFpbihTdHJpbmdbXSBhcmdzKSAKICAgIHsKICAgICAgICAvL05hbWVkIENvbnN0YW50cwogICAgICAgIGZpbmFsIGludCBJTkNIRVNfVE9fTUlMRVMgPSA2MzM2MDsKICAgICAgICBmaW5hbCBpbnQgRkVFVF9UT19NSUxFUyA9IDUyODA7CiAgICAgICAgZmluYWwgaW50IFlBUkRTX0lOX01JTEVTID0gMTc2MDsKICAgICAgICAKICAgICAgICAvL051bWJlciBvZiBtaWxlcwogICAgICAgIGludCBtaWxlcyA9IDE7IAoKICAgICAgICAvL0NvbnZlcnNpb25zCiAgICAgICAgaW50IHRvdGFsWWFyZHMgPSBtaWxlcyAqIFlBUkRTX0lOX01JTEVTOwogICAgICAgIGludCB0b3RhbEZlZXQgPSBtaWxlcyAqIEZFRVRfVE9fTUlMRVM7CiAgICAgICAgaW50IHRvdGFsSW5jaGVzID0gbWlsZXMgKiBJTkNIRVNfVE9fTUlMRVM7CgogICAgICAgIC8vRXhwbGFuYXRvcnkgVGV4dAogICAgICAgIFN5c3RlbS5vdXQucHJpbnRsbigiVGhlcmUgaXMgIiArIG1pbGVzICsgIiBtaWxlLCB3aGljaCBpcyBlcXVhbGl2ZW50IHRvOiIpOwogICAgICAgIFN5c3RlbS5vdXQucHJpbnRsbih0b3RhbFlhcmRzICsgIiB5YXJkcyIpOwogICAgICAgIFN5c3RlbS5vdXQucHJpbnRsbih0b3RhbEZlZXQgKyAiIGZlZXQiKTsKICAgICAgICBTeXN0ZW0ub3V0LnByaW50bG4odG90YWxJbmNoZXMgKyAiIGluY2hlcyIpOwogICAgfQp9