Write an application that displays the populations

Assignment Help JAVA Programming
Reference no: EM131565927

You need to write a program for the instructions given below:

Assume that the population of Mexico is 121 million and that the population increases 1.05% annually (new population = current population x 1.0105). Assume that the population of the United States is 315 million and that the population is reduced 0.16% annually (new population = current population x 0.9984).

Assume that the population of Japan is 127 million and that the population increases 1.01% annually (new population = current population x 1.0101).

Write an application that displays the populations for the three countries every year until both Mexican and Japanese populations pass US population. Display the number of years it took for Mexico's and Japan's populations to exceed that of the United States. Use both while loop and for loop to accomplish the task. Save the two files (one for each type of loop) as Population_while.java and Population_for.java

Please submit the source code for your program along with a word document that includes screen shots of the compiled results and executed output. The page margins on the top, bottom, left side, and right side should be 1 inch each.

Reference no: EM131565927

Questions Cloud

Corporation cannot be member of limited liability company : A corporation cannot be a member of a limited liability company.
Computing the weekly hours of employees : Computing the weekly hours of Employees - Suppose the weekly hours for all employees are stored in a two-dimensional array.
Prepare form 1040 and all other required federal forms : Prepare the 2016 Form 1040 and all other required Federal forms and schedules for Brett Simons. Round all amounts to whole dollars
Describe what unique leadership attributes are required : Describe what unique leadership attributes are required to facilitate the development of a learning organization.
Write an application that displays the populations : Write an application that displays the populations for the three countries every year until both Mexican and Japanese populations pass US population
Describe the opportunities and challenges : Project Milestone One: Draft Proposal: Major Forces- Describe the opportunities and challenges as they relate to healthcare organizations and leaders.
Create and describe each planned capital expenditure : Create and describe each planned capital expenditure. Prepare an executive summary along with a separate document showing the calculations.
Print a space after each seat : Given numRows and numCols, print a list of all seats in a theater. Rows are numbered, columns lettered, as in 1A or 3E. Print a space after each seat
Is that distinction practical and workable : What are the advantages and disadvantages of using such a dichotomy today as a way to advance that field of study? Support your case with examples.

Reviews

Write a Review

JAVA Programming Questions & Answers

  Write a program that displays all the numbers

Write a program that displays all the numbers from 100 to 200, ten per line, that are divisible by 5 or 6, but not both. Numbers are separated by exactly one space

  Program that reads customers information from a file

Write a program that reads customers information from a file, and creates a movie theatre seating with a number of rows and columns specified by a user. Then it will attempt to assign each customer to a seat in a movie theatre.

  How to track password-cracking software

Imagine you are a digital forensic investigator for a healthcare organization. You learn from your internal information security department that an employee has been using password-cracking software to access confidential customer insurance inform..

  Rock-paper-scissors :- java problem

Design decision marks are based on how you implemented our programs/classes.

  Write a program to play the rock-paper-scissors game

Game Program Write a program to play the rock-paper-scissors game. Two users take turns entering R, P, or S. The program then announces the winner, based on the rule that paper covers rock, rock breaks scissors, scissors cut paper.

  Calculates and displays the mortgage payment amount

Write a Java program without a graphical user interface that calculates and displays the mortgage payment amount given the amount of the mortgage, the term of the mortgage, and the interest rate of the mortgage. In this program, hard code the amou..

  The class overloaded constructor receives a 2-dim int array

The class overloaded constructor receives a 2-dim int array as a parameter and assigns its values to a private 2-dim int array. Have another method that prints the whole 2-dim table.

  Design and implement a java program that will gather info

Design and implement a Java program that will gather a user's first name, middle initial, lastname, age in years, and 3 lucky numbers. The program should output the following based on the user's input

  Write a program to create a file named "numbers.dat".

Write a program to create a file named "numbers.dat". Then create an algorithm that adds all even numbered integers from 1 to 100, separated by a comma.

  Design a class named clock

Design a class named Clock. You should use your IDE for this exercise. The class contains private data fields for startTime and stopTime, a no argument constructor that initializes the startTime to the current time

  Explain polymorphism

Explain polymorphism. Do all programming languages have polymorphism, and why or why not? Why is it useful and identify situations where polymorphic behavior would be absolutely necessary

  Write an employee payroll program

Write an employee payroll program that uses polymorphism to calculate and print the weekly payroll for your company. There are three types of employees - hourly, salaried, and salaried plus commission. Each type of employee gets paid using a diffe..

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