About 5,200,000 results
Open links in new tab
  1. java - Height Conversion - cm to feet and inches (and vice versa ...

    Sep 10, 2016 · public static String feetToCentimeter(String feet){ double dCentimeter = 0d; if(!TextUtils.isEmpty(feet)){ if(feet.contains("'")){ String tempfeet = feet.substring(0, …

  2. Program to convert Centimeter to Feet and Inches

    Feb 20, 2023 · In this article, we will learn how to convert Height, given in centimeter to Height in feet and inches. feet = 0.33. feet = 2.79. We know that 1 inch is equal to 2.54 centimeters, so …

  3. Computing Science - Simon Fraser University

    //***** // Program Convert: This program converts measurements // in feet and inches into centimeters using the // formula that 1 inch is equal to 2.54 // centimeters.

  4. Java Program to Convert Centimeter to Foot and Foot to Centimeter

    Dec 12, 2023 · Method-1: Java Program to Convert Centimeter to Foot and Foot to Centimeter By Using Static Input Value. Approach: Declare Centimeter and Foot value. Then convert …

  5. Length Convertor - JAVA

    Aug 6, 2020 · /* Simple Java Program to convert miles, kilometers, meter, feet, centimeter and inches */

  6. create a java program that will ask the user's height in centimeters ...

    System.out.println(" The measurement in centimeters is " + centimeters); System.out.println(" The measurement in english measure is "); System.out.print( feet + " feet : " + inches + " ");

  7. Java Height Converter - CodePal

    Convert height from feet and inches to centimeters using Java code. Learn how to write a program that converts any given height in feet and inches to centimeters.

  8. ft2cm/feetToCm.java at main · jtorres-1/ft2cm - GitHub

    Feet to Centimeters Converter A simple Java program that converts measurements from feet and inches to centimeters. - jtorres-1/ft2cm

  9. java - Strange issue in converting Feet and Inches to Centimeter

    public static double convertFeetandInchesToCentimeter(String feet, String inches) { double heightInFeet = 0; double heightInInches = 0; try { if (feet != null && feet.trim().length() != 0) { …

  10. java - Length Converter - Code Review Stack Exchange

    Apr 21, 2015 · I have a Swing application that converts lengths. Inches to centimeter, feet to yard, etc. I’m wondering if I could make the super large HashMap a little smaller, or more efficient. …

Refresh