Trusted by millions of Kenyans
Study resources on Kenyaplex

Get ready-made curriculum aligned revision materials

Exam papers, notes, holiday assignments and topical questions – all aligned to the Kenyan curriculum.

There are 2.54 cm in an inch.Declare a constant in java programming language named cmPerInch, with the correct value.Show how it might be used in...

There are 2.54 cm in an inch.Declare a constant in java programming language named cmPerInch, with the correct value.Show how it might be used in a calculation to convert inches to cm.

Answers


Davis
Final double cmPerinch = 2.54;
Double cm, inches =23.6;
Cm = inches * cmPerInch;

Githiari answered the question on January 26, 2018 at 12:34

Answer Attachments

Exams With Marking Schemes

Related Questions