/*POUNDS TO KILOGRAMS FORMULA
* Divide the amount in pounds by 2.2 to determine the amount in kilograms.
*
*KILOGRAMS TO POUNDS FORMULA
* Multiply the amount in pounds by 2.2 to determine the amount in pounds
*/
package poundstokilo;
import java.util.Scanner;
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
double pounds, kilo;
System.out.println("Enter a number in pounds");
pounds = input.nextDouble();
kilo = (pounds / 2.2);
System.out.println(pounds + " pounds is " + kilo + " kilograms");
}
I suggest you write a method of a class; the class might be called "conversions", the specific method might be called "kilogramsToPounds()". Or just define constants (final fields - I suggest they also be static) in the class, and use them to multiply - the constant might be called something like poundsPerKilogram.
How to write a program for secant method by mathematica
write a lex program to delete space from the program
write a vb program to find the magic square
this is to write or create
How to write a program for mouse in microprocessor?
1,200,000 pounds is 544,310 kilograms.
600 pounds = 272.155kg (1 pound = 0.453592kg)
1kg converts to about 2.2 (2.20462) pounds.
prompt x floor(x + .5) -> x disp x
Kilogram is the metric unit and pound is the imperial unit for mass. 1 Kilogram is 2.204 pounds. So we multiply pound by 0.4535 to get the equivalent kilograms. Answer in kg approx = 70.76
The answer depends on the units which were used for the amount. The answer, in kilograms will be different according to whether the units were grams, pounds, tons or some other measure.
A computer program that takes non-machine language instructions prepare by a computer user and converts them intto a for that may be used by the computer(:
1.92*101 kilograms.
you use pounds or, since you're asking about metric measure, kilograms. You could use either but the answer in kilograms is much easier to read and write since. For example, if the cow weighs 700 lbs, its weight in grams would be 317,514 g. It's weight in kilograms would be 317.5 kg.
kg
0.001
3306.93 pounds. The actual conversion of 1 kilogram is equal to 2.204622622 pounds. For everyday use, rounding to 2.2 should be enough. One pound is 0.45359237 kilogram, or 0.45 kg for everyday use.