Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Can anyone solve this? Problem l A car rent office has the following charges for one day based upon year of manufacture and Number of

Can anyone solve this? image text in transcribed
Problem l A car rent office has the following charges for one day based upon year of manufacture and Number of days: Year Of Manufacture 2000 to 2005 2006 to 2010 2006 to 2010 2011 to 2014 2015 to 20IS 2015 to 2018 Cost per 25 530 527 35 $100 580 More than 4 More than 4 Write a java program that prompes the user to enter the Year of Manufacture of a car and the Number of days for rent then print on the screen the cost of this renting Please enter the Year of a car and number of days: 2016 3 The cost for Renting is: 300s Please enter the Year of a caz and number of days: 2005 2 The cost for Renting is: S05 Please enter the Year of a car and number of days: 2004 12 The days is not in Range Please enter the Year of a car and number of days: 1999 3 The Year is not in Range Problem 2 The ideal body weight formula is used for obtaining the ideal body weight using simple arithmetic. The ideal body weight is given by the formula: Female: Ideal weight50-0.75 -[eight 1501ge - 20) /2 Male: Ideal weight- 50-0-75Reight1501Age-20) 74 Write a program that asks the user to enter the age, height, weight and gender and then it displays the ideal weight and tell the user if he/she is ever-weighted or under-weighted The age must be between 18 and 70 years otherwise the program displays no result for this age" The gender must be M or Fotherwise the program displays Invalid gender entry Sample Run 1: Ener your gender n er Enter your height tan m: 80 Sample Run 2

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

Define the process of communication

Answered: 1 week ago

Question

Explain the importance of effective communication

Answered: 1 week ago

Question

* What is the importance of soil testing in civil engineering?

Answered: 1 week ago

Question

Explain the concept of shear force and bending moment in beams.

Answered: 1 week ago

Question

Methods of Delivery Guidelines for

Answered: 1 week ago