Write an application that displays the populations

Assignment Help JAVA Programming
Reference no: EM132080630

This activity will enable you to apply what you will learn during this course. 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.

Submit the source code along with the Word document to the appropriate dropbox.

Verified Expert

The task of the assignment is to develop two JAVA program. The assignment test the student capability to use different kinds of loop to perform the same task. This assignment works on both the for loop and while loop. The task is to determine and display the populations for the three countries every year until both Mexican and Japanese populations pass US population and to determine the number of years it took for Mexico’s and Japan’s populations to exceed that of the United States.

Reference no: EM132080630

Questions Cloud

Design an educational handout on the health issue : One of the pivotal goals of consumer health literacy efforts is to design educational materials that attract as well as educate users.
Describe behaviors that effective leaders demonstrate : Describe behaviors that effective leaders demonstrate. Specify the contexts in which various leadership styles are effective.
Example of case control study and cohort study : What is an example of case control study and cohort study? What factors influence the way we perceive people?
How do we as health providers provide spiritual care : Consider who provides spiritual care, have you had an experience with spiritual care being provided by someone other than a designated spiritual provider?
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
My current screening potential employees processes : my current screening potential employees processes and have an idea of some assessment types that would be both beneficial and time saving.
Define what an emerging market is from a global perspective : Define what an emerging market is from a domestic perspective. Define what an emerging market is from a global perspective.
Motivation must be popular area of study currently : Arguments are welcomed as well as sound affirmations. “Motivation must be a popular area of study currently.
Create a manufacturing process map : Research the manufacturing process for the selected company. Create a manufacturing process map.

Reviews

inf2080630

11/1/2018 2:57:11 AM

This website is the best in all this industry. always helped me when i need it, always on time with the best work .i will recommend every student who needs help with their assignment work.i always got full grades by the help of this website ,almost finished my all study with your help guys. keep it up!

Write a Review

JAVA Programming Questions & Answers

  Describe the tier components interaction

The typical workflow: you need to use an example workflow, e.g. creating a customer's order, to describe the tier components interaction

  Write code fragment to declare and create twoaccountobjects

Write a code fragment to declare and create twoAccountobjects named acc1 andacct2. Initialize the balance to $300 and $500, respectively. Set the name of owner for both accounts toJohn Doe.

  Write a java class named algebra

Write a java class named Algebra that will eventually have static methods representing the relational algebra and one additional method which displays the contents of a tilde table

  Implement a public class date that represents a date

The Date.java class. Implement a public class Date that represents a date composed of a month , day, and a year. Declare month, day, and year as integers.

  Conduct an internet search for javadb tutorial you might

please write a 200-400 word response to the following questionq1. conduct an internet search for javadb tutorial. you

  Calculate median value of the numbers stored in each array

COP2551 Intro to OOP Homework - Calculate the median value of the numbers stored in each array. Determine the middle value of the array

  Online shopping cart program using classes

Online shopping cart (Java) program using classes - prompt the user for two items and create two objects of the ItemToPurchase class

  Write a java method that adds two fractions together

Write a Java method that adds two fractions together

  Define a new class bankdatabase

Define a new class BankDatabase. The BankDatabase contains the bank account information for all accounts including saving accounts and checking accounts

  Calculate the total cost incurred for all parts

You will also calculate the total cost incurred for all parts of the trip. For this project, you will use information from two different input files in order to calculate the trip plan and total cost.

  Create an intuitive interface for the user

Create an intuitive interface for the user. Create an easy to read report layout (consistent spaces for each column and column headers) for the daily report (HINT: column headers you can use...auto info, price/discounted price, customer info).

  Square matrix of dimension

You are given a square matrix of dimension N. Let this matrix be called A. Your task is to rotate A in clockwise direction byS degrees, where S is angle of rotation. On the matrix, there will be 3 types of operations viz.

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