Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering

a runner runs 14 kılometers in 45 minutes and 30 sec-

onds. Write a program that displays the average speed in miles per hour. (Note that

 1 mile is 1.6 kilometers.)


Write a program which consists of a single class called BuyStuff that asks the user for two amounts, adds them, calculates tax at 15%, shows the result to the user, and asks for money. It then compares if the person gave enough money. If so, it displays the amount of change to return otherwise it displays a message asking for more money

Create your own class named BankAccount that illustrates the use of encapsulation as shown above.

Make sure to include at least one setter and one getter for the class. Add variables and methods

related to a BankAccount class as many as you can.


Write a program that requests the user for a year (you can assume the year will always be at


least 2000), the population of Brazil in that year (in terms of millions of people) and the annual


population growth rate (always as a real number in the range 0 – 1), and then uses the two


methods written above to determine and display the year in which Brazil’s population first


exceeded/exceeds 18




a) Write a method PopulationTotal that accepts 2 positive values, namely the current

population (in millions, e.g. a value of 1.5 means 1.5 million people) and the growth rate (e.g.

0.14 means 14%). The method determines and returns the total population based on the current

population and growth rate. For example, if the current population for a country is 1.165 million

people, and the annual population growth rate is 10%, then the total population is 1.2815 million

people after 1 year.

b) Write a method Over180Million that accepts a positive value representing the population (in

millions). The method determines whether the population is over 180 million people, and returns

a value of true if this is so, otherwise returns a value of false.


Create a program that will accept two numbers and print the product, quotient, sum, difference, remainder, exponent, and floor division. First number will be the left operand for quotient, difference, remainder, exponent, and floor division.

Create a program using two-dimensional arrays that searches a number and displays the number of times it occurs on the list of 12 input values.

 Sample input/output dialogue:

            Enter twelve numbers:

       15   20 13 30 35 40 16 18 20 18 20

            Enter a number to search: 20

           Occurrence(s) : 3


write a python program to read in the number of judges at a competition and then read in the mark for each judge. Write out the highest mark, lowest mark and final mark.


The number of judges must be from 4 to 8.

Each judge can only give marks from 0.0 to 10.0


write python program that reads in the number of judges at a competition and reads in a mark for each judge. write out the highest mark, lowest mark and final mark.


. Write a program that performs the following tasks: a) declares an array of 5 books, prompt the user for the details of the book and load them in the declared array. b) The application should allow the user to find and display all the book(s) published by the same author. c) The user should be able to find the number of copies available for the same book. E.g Absolute Java, 7th Edition by Walter Savitch. You want to know, how many copies does this book has? In the array.


LATEST TUTORIALS
APPROVED BY CLIENTS