EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
8th Edition
ISBN: 9781305480537
Author: FARRELL
Publisher: CENGAGE LEARNING - CONSIGNMENT
Expert Solution & Answer
Book Icon
Chapter 2, Problem 8RQ
Program Description Answer

The value 137.68 can be held by the variable types “float and double”.

Hence, the correct answer is option “D”.

Blurred answer
Students have asked these similar questions
4 -A mathematician and discovered a number which have unique properties. As he is not decided any name to that number, so for the time being we call that number ‘Cuboid’. A unique property of Cuboid is that, if we break that number into individual units like breaking 153 into 1, 5 and 3 and take their individual cube, then the sum would be the same as original number being given. Your task is to ask the user an integer and print weather the digit entered is Cuboid or not. (Python program)
The Body Mass Index – BMI is a parameter used to measure the health status of an individual. Various BMI values depicts how healthy or otherwise a person is. Mathematically BMI = WEIGHT/ HIEGHT * HEIGHT Write a java program using either JOptionPane or Scanner to collect the following values of an individual: 1.a. Namea  b. Weight c. Height 2. Compute the BMI of that individual 3. Make the following decisions if:  a. BMI < 18.5 is under weight b. BMI >=18.5 but <25 considerably healthy c. BMI >=25 but <30 overweight d. BMI >= 30 but <40 Obesity e. BMI >= 40 Morbid Obesity 4. Display the results of the individual 5. Explain your answer
Write an application that finds the smallest of several integers. Assume that the first value read specifies the number of values to input from the user.
Knowledge Booster
Background pattern image
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
  • Text book image
    Microsoft Visual C#
    Computer Science
    ISBN:9781337102100
    Author:Joyce, Farrell.
    Publisher:Cengage Learning,
Text book image
Microsoft Visual C#
Computer Science
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Cengage Learning,