Create the porogram for Landing page, Owner Menu and Customer Menu of a Vending Machine
explain the function of the page map table in all of the memory allocation schemes. Explain your answer by describing how the PMT is referenced by other pertinent tables in each scheme
Calculate the interest for the given base amount.
if year > 15 then calculate 12% else 10%.
Find the maturity amount
Using a while loop create a program that will prompts the user for two numbers and then print out a list of all the numbers between the given numbers (inclusive) squared.
Sample Run1
Enter two numbers: 4 8
Output1: List = 16 25 36 49 64
Sample Run2
Enter two numbers: -2 -6
Output2: List = 36 25 16 9 4
Create a java program that initialize a two dimensional array with the continuous assessment marks used to determine the semester mark for PRG510S exam qualification, The system should also create an array of student names in correspondence to the marks (Note: the appropriate weights of each individual assessment are given under corresponding headings and both the marks and student names are read from the user input).
Create a Java program to find which word has the maximum occurrence and
replace that word by a special symbol, say *.
Body Mass Index (BMI) is one of the criteria that is used to calculate whether one is fit or not basing on a person’s height (m) and weight (kg). The criterion is very simple; if one’s BMI is 25 or greater, it signifies overweight. A BMI less or equal to 18.5 indicates underweight. Lastly, a BMI greater than 30 shows obesity.
You have been requested to create a program that that helps the Namibian Defence Forces’ (NDF) Captain to calculates the BMI of a person (BMI = weight/height2) and also determine whether the person has also completed running 10 km in the required time. Men should complete 10km in less than 60 minutes for them to be accepted. Women should do that under 80 minutes. Both males and females are accepted if their BMI is less than 25 and greater than 18.5. For 2018 intake, there are already 6 males selected and 1 female. The values for gender, mass and weight are enter by user inputs
Write a java program that specifies three parallel one dimensional arrays name length, width, and area. Each array should be capable of holding a number elements provided by user input. Using a for loop input values for length and width arrays. The entries in the area arrays should be the corresponding values in the length and width arrays (thus, area[i] = length [i]* width [i]) after data has been entered display the following output:
Using a do-while loop create a program that will prompt the user for a number and then print out a list 5 odd numbers above the given number(inclusive).
input: -25
output: -25 -23 -21 -19 -17Create a do-while loop that ask the user to enter two numbers. The numbers should be added and sum displayed. The loop should ask whether the user he or she wishes to perform the operation again. If so the loop should repeat; otherwise it should terminate