I need the answer for this question as code, JAVA Programming

Assignment Help:
I earn .... Rs per month. if mobile costs 20% of my earning. I will buy in cash. if costs more than 20%. I will buy in 3 months installments without interest. if costs more than 40%. I will buy in 6 months installments with 100 rs per month interest. if mobile cost is less than 2000. it is a feature_phone else it is a smart_phone. if mobile cost is greator than 4000. it has sensor GPS else NA Use Classes and objects to create this program this program will be manually checked in viva. print the amount I am going to pay this month. type : smart_phone or feature_phone sensor : GPS or NA Input Format my earning (integer) mobile cost(integer) Constraints earning and mobile cost will be in range 0 to 100000 Output Format the amount I am going to pay this month. type : smart_phone or feature_phone sensor : GPS or NA Sample Input 0 30000 8000 Sample Output 0 2666 type : smart_phone sensor : GPS

Related Discussions:- I need the answer for this question as code

What is the difference between internet and intranet, What is the differenc...

What is the difference between Internet and Intranet ? Intranet and internet are 2 domains which are extremely a like but frequent segregated in order to manage security. Inter

Converting strings to numeric primitive data types, Converting Strings to N...

Converting Strings to Numeric Primitive Data Types To convert a string which is containing digits to a primitive data type, wrapper classes can help. parseXxx method can be u

Design patterns, what is the use of design pattern in java ?

what is the use of design pattern in java ?

Create a generic class with a type parameter, 1. The purpose of this proble...

1. The purpose of this problem is to practice using generics.  Create a generic class with a type parameter that simulates drawing an item at random out of a box. For exampl

Terminology, what is mearnt by a variable in java

what is mearnt by a variable in java

Tasks with the classes Currency, In this assignment you work on a set of ta...

In this assignment you work on a set of tasks with the classes Currency, Money and Bank. Money and Currency You have been given a template for the Currency and Money classes (Lab1.

What are the sub categories of artificial intelligence, What are the Sub ca...

What are the Sub categories of Artificial Intelligence? Briefly explain any two? 1. Expert systems: Expert system is in which system that is in some limited sense, could repl

I need to make clone of an android app, I need to Make clone of an Android ...

I need to Make clone of an Android app Project Description: Make a total duplicate of the App: Camp and RV Campgrounds Plus The only difference will be the name (as it

Object and Instance, What is the difference between instance and object of ...

What is the difference between instance and object of a class? Few says both are same, then why java kept both the words for same thing?

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd