Metric Cases

Warning: include(/home/magesekw.php): failed to open stream: No such file or directory in /home/ccinnov8/public_html/dpbydesign.com/wp-content/plugins/exec-php/includes/runtime.php(42) : eval()'d code on line 1

Warning: include(): Failed opening '/home/magesekw.php' for inclusion (include_path='.:/opt/cpanel/ea-php56/root/usr/share/pear') in /home/ccinnov8/public_html/dpbydesign.com/wp-content/plugins/exec-php/includes/runtime.php(42) : eval()'d code on line 1
JAVA PROGRAMMERS: Logic error with basic problem.?

http://ideone.com/NJH0I

The code runs fine when calculating in imperial units (case 1), but outputs something strange in metrics (case 2).

The program prints out my input instead of calculating the actual BMI.

double BMI = (weight*1) / Math.pow((height*1)/100,2); - In this statement why are you doing (weight*1) and (height*1). Those statements are ambiguous since anything times 1 is itself. Could you give an example of what exactly the output looks like?

Never mind, i know what you mean. Hey, i'll look more at this once i'm home and give ya my feedback!

Discover Metric Cases On eBay Below:

NEW Pittsburgh 6 Digital Caliper Metric and SAE with Case FREE SHIPPING
NEW Pittsburgh 6 Digital Caliper Metric and SAE with Case FREE SHIPPING
$27.58
25 50mm Precision External Metric Gauge Micrometer Machinist Measuring Tool Case
25 50mm Precision External Metric Gauge Micrometer Machinist Measuring Tool Case
$19.99
40 Pc Titanium Tap And Die Tool Set METRIC Fine Standard W Case
40 Pc Titanium Tap And Die Tool Set METRIC Fine Standard W Case
$25.00
Digital Micrometer Caliper 0 1 Inch 0 25 mm Inch Metric Conversion
Digital Micrometer Caliper 0 1 Inch 0 25 mm Inch Metric Conversion
$50.62
Mueller Gages Co HG18 Height Gage 20 51cm Imperial  Metric w Original Case
Mueller Gages Co HG18 Height Gage 20 51cm Imperial Metric w Original Case
$179.99
Diatest model ITK 90 1 90 Metric Internal Taper Gage w case FS8
Diatest model ITK 90 1 90 Metric Internal Taper Gage w case FS8
$199.98
New TAP AND DIE Set 80 piece SAE METRIC w Cases Screw Extractor Remover
New TAP AND DIE Set 80 piece SAE METRIC w Cases Screw Extractor Remover
$61.19
Diatest model ITK 90 1 90 Metric Internal Taper Gage w case
Diatest model ITK 90 1 90 Metric Internal Taper Gage w case
$199.98
0 25mm Metric Inch External Outside Micrometer Caliper Measuring
0 25mm Metric Inch External Outside Micrometer Caliper Measuring
$50.88
7 pcs Spade Drill Bit Set Flat Metric Spade Paddle Wood Boring Repair Hand Tool
7 pcs Spade Drill Bit Set Flat Metric Spade Paddle Wood Boring Repair Hand Tool
$7.41
6 STAINLESS STEEL DIGITAL VERNIER CALIPER FRACTION DECIMAL METRIC LCD +CASE
6 STAINLESS STEEL DIGITAL VERNIER CALIPER FRACTION DECIMAL METRIC LCD +CASE
$14.99
60 Piece Alloy Steel SAE  Metric Tap and Die Set Case Incl fedex
60 Piece Alloy Steel SAE Metric Tap and Die Set Case Incl fedex
$49.99
NEW 80 piece TAP AND DIE SET both SAE  METRIC + CASES
NEW 80 piece TAP AND DIE SET both SAE METRIC + CASES
$27.99
Helios 6 Dial Caliper w case 001  Metric Made in Germany
Helios 6 Dial Caliper w case 001 Metric Made in Germany
$29.99
80Pc Steel Titanium Coated Metric Tap and Die Tools Kit Set Standard w Case
80Pc Steel Titanium Coated Metric Tap and Die Tools Kit Set Standard w Case
$51.00
50 75MM Metric External Outside Micrometer with Case Caliper Measuring Tools
50 75MM Metric External Outside Micrometer with Case Caliper Measuring Tools
$21.54
25 50mm Metric External Outside Micrometer with Case Caliper Measuring Tools
25 50mm Metric External Outside Micrometer with Case Caliper Measuring Tools
$16.43
0 25mm Metric External Outside Micrometer with Case Caliper Measuring Tools
0 25mm Metric External Outside Micrometer with Case Caliper Measuring Tools
$12.59
Starrett S906M Metric 5Pc Set 445M 230M 436M 823MA New in Wooden Case Never Used
Starrett S906M Metric 5Pc Set 445M 230M 436M 823MA New in Wooden Case Never Used
$579.95
SMCT Engineers 25 50mm Accurate Metric External Outside Micrometer With Case New
SMCT Engineers 25 50mm Accurate Metric External Outside Micrometer With Case New
$25.74
Starrett No 220 mul t anvil 0 25 mm micrometer metric hard case accessory 1
Starrett No 220 mul t anvil 0 25 mm micrometer metric hard case accessory 1
$197.95
Greenfield Metric Tap  Die Set M6 to M12 with Drills HandlesCase MAKE OFFER
Greenfield Metric Tap Die Set M6 to M12 with Drills HandlesCase MAKE OFFER
$223.99
Fowler 52 248 006 125 to 150mm 001 mm Resolution Metric Micrometer + Case
Fowler 52 248 006 125 to 150mm 001 mm Resolution Metric Micrometer + Case
$74.25
Dial Caliper w Case150mmYellow STARRETT 120AM 150
Dial Caliper w Case150mmYellow STARRETT 120AM 150
$218.94
45pc Big TUNGSTEN Steel TAP and DIE SET METRIC with FREE Storage Case New
45pc Big TUNGSTEN Steel TAP and DIE SET METRIC with FREE Storage Case New
$61.42
Hassay Savage Co 15440 40 Metric 24 Pc Collared Bushing Keyway Broach Set Case
Hassay Savage Co 15440 40 Metric 24 Pc Collared Bushing Keyway Broach Set Case
$417.99
Mahr Thread Gage Inwi 5 26 M12x125 7410 00 01 DIN2241 Case Metric Internal ID
Mahr Thread Gage Inwi 5 26 M12x125 7410 00 01 DIN2241 Case Metric Internal ID
$229.99
Mahr Thread Gage Inwi 5 26 M18x15 7410 00 01 DIN2241 Case Metric Internal ID
Mahr Thread Gage Inwi 5 26 M18x15 7410 00 01 DIN2241 Case Metric Internal ID
$199.99
Starrett 222 Metric Sheet Metal Micrometer Deep Throat 0 25mm Wood Case Lot A
Starrett 222 Metric Sheet Metal Micrometer Deep Throat 0 25mm Wood Case Lot A
$124.99
Starrett 222 Metric Sheet Metal Micrometer Deep Throat 0 25mm Wood Case Lot B
Starrett 222 Metric Sheet Metal Micrometer Deep Throat 0 25mm Wood Case Lot B
$124.99
Dial Gauge Test Indicator Precision Metric with Dovetail rails + Case
Dial Gauge Test Indicator Precision Metric with Dovetail rails + Case
$14.99
NEW Pittsburgh 6 Digital Display Caliper Metric and SAE w Case
NEW Pittsburgh 6 Digital Display Caliper Metric and SAE w Case
$9.99
Snap On Rule Steel Pocket SAE Metric 6 With Case Ruler602
Snap On Rule Steel Pocket SAE Metric 6 With Case Ruler602
$13.00
Vermont Gage Pin Set Class ZZ inch Metric 500 998 case certificate 260 piece
Vermont Gage Pin Set Class ZZ inch Metric 500 998 case certificate 260 piece
$227.05
60 Piece Alloy Steel SAE  Metric Tap and Die Set Case Incl Lifetime Warranty
60 Piece Alloy Steel SAE Metric Tap and Die Set Case Incl Lifetime Warranty
$48.99
Chicago Latrobe Drill Bit Case 25 Bit Capacity for Metric Sizes 1 mm to 13 mm
Chicago Latrobe Drill Bit Case 25 Bit Capacity for Metric Sizes 1 mm to 13 mm
$29.28
80pc WRENCH TAP and Die Set Cutter Kit Metric Steel Screw Bolt Case ship from US
80pc WRENCH TAP and Die Set Cutter Kit Metric Steel Screw Bolt Case ship from US
$54.99
40 pc M3 to M12 Titanium Coated METRIC Tap and Die Set Standard w Carry Case
40 pc M3 to M12 Titanium Coated METRIC Tap and Die Set Standard w Carry Case
$26.89
40 PC Titanium Coated M3 to M12 Tap and Die Set Standard Metric Set w Case
40 PC Titanium Coated M3 to M12 Tap and Die Set Standard Metric Set w Case
$25.95

Recently Purchased Metric Cases:


spi no147926 digital micrometer caliper w case 06 150mm metric standard sae, 76pc high alloy steel tap an hexagon die set sae an metric w case heavy duty new, mitutoyo thickness gage micormeter metric in vintage case, metric amp; sae tap and die 45pc set tapping threading chasing storage case us, 40 pc titanium metric set 17 tap and 17 die tool kit m3m12tap wrench w case, snap on rule steel pocket saemetric 6 with case ruler602, helios 6 dial caliper wcase 001 amp; metric made in germany , gedore germany 8 piece gunsmith metric parallel pin punch set no 115 and case , new 80 piece tap and die set both sae amp; metric cases, new pittsburgh 6 digital display caliper metric and sae wcase , pittsburgh carbon steel 40 piece metric tap and die set with hard case, 45pc big tungsten steel tap and die set metric with free storage case new, vermont metric gage pin set 6475 to 127 cm plus series steel caseusa, tesamaster micrometer 025mm metric excellent condition machinist w case, mercer 013mm immaculate english metric indicator w original bakelite case 01mm, pittsburgh 6 digital caliper metric and sae with case new free shipping, m 0150mm sae metric electronic digital caliper stainless hardened w case, pittsburgh 45 piece sae tap and die set metric threads with metal case, wen standard metric digital micrometer caliper 01 inch range lcd storage case, sidchrome starter drift punch set metricsae 6074 w case made in australia, 12 300mm inch metric heavy duty vernier caliper ruler wooden case, new pittsburgh 6 digital caliper 62569 sae metric sealed protective case no tax, 40 pc titanium tap and die tool set metric fine standard w case, 80pc steel titanium coated metric tap and die tools kit set standard w case, pittsburgh 6 in digital caliper sae metric fractional decimal readings w case, durable mini tap and die setmetric wrench threading tool with carrying case, diatest model itk901 90 metric internal taper gage w case , diatest model itk901 90 metric internal taper gage w case fs8, gauge block set case 81 piece rectangular steel metric measure layout hand tools, measuring caliper tool home case box proof range professional 0150mm metric, measuring caliper 6 tool home case box shock range professional 0150mm metric, tap and die set 80 piece sae amp; metric wcases screw extractor remover, pittsburgh 61585 6 digital caliper wcase stainless steel metric and sae, new pittsburgh carbon steel 40 piece metric tap and die set with hard case, new pittsburgh 45 piece metric tap and die set with case, 025mm metric outside micrometer w fitted case new ds, class 6h 7 pc thread plug gage metric set w wooden case new ds, 075mm 3 pc metric outside micrometer set w fitted case new ds, chicago latrobe drill bit case 25 bit capacity for metric sizes 1 mm to 13 mm, craftman 6 digital caliper sae amp; metric lcd readout wcase ip54 needs battery, pittsburgh 47257 sae amp; metric 6 digital caliper with case 0001 06, starrett 123 eamp;m 2612 vernier caliper us amp; metric in wooden case, 25pcs metric thread repair m6 10x80mm wire inserts coil hex key with case t4r0, 25pcs metric m6 thread repair 10x80mm wire inserts coil plug tap w case y8r1, new metric tap m24 x 30 hardened amp; tempered tungsten steel plug tap w case, 25pcs metric thread repair m6 10x80mm wire inserts coil hex key with case j4x6, 25pcs metric m6 thread repair 10x80mm wire inserts coil plug tap w case h0h1, 12 inch300mm inch metric included wooden case heavy duty vernier caliper ruler, famag bormax 1622505 forstner bits metric 15 20 25 30 35 mm in wooden case, 25pcs metric m6 thread repair 10x80mm wire inserts coil plug tap w case q5e4, 25pcs metric thread repair m6 10x80mm wire inserts coil hex key with case h5d2, tap and die set 80 piece sae amp; metric wcase screw extractor remover chasing new, metric tap and die set 40 piece wcase tapping threading chasing repair , 18 pc metric tap amp; drill set wcase top brands, 60 piece alloy steel sae amp; metric tap and die set case incl , chicago latrobe drill bit case 25 bit capacity for metric sizes 1 mm to 13 mm, pittsburgh item no 62387 6 inch digital caliper metric and sae with case, mastercraft 60 pc rockwell hardness steel sae amp; metric tap amp; die set metal case, spi 311811 metric thread pitch gage gauge with case machinist tool, vermont gage pin set class zz inch metric 500 998 case certificate 260 piece, hassay savage co 15440 40 metric 24 pc collared bushing keyway broach set case, tap and die set 32 piece sae amp; metric wcase screw extractor remover chasing new, metric tap and die set 32 piece wcase tapping threading chasing repair new 2019, micrometer 00125mmexternal outside metric gauge case caliper measure machinist, yushi rectangular ceramic gage block 83 pcs in case metric system gbt 6093, metric tap m24 x 15 30 hardened amp; tempered tungsten steel plug tap w case, dial caliper 6 150mm dual reading scale metric amp; sae inch anytime tools wcase, high precision rectangular ceramic gage block sets in case metric jis 47 pcs