Write a program which can be used to calculate bonus points to given scores in the range [1..9] according to the following rules:
If the score is between 1 and 3, the bonus points is the score multiplied by 10
If the score is between 4 and 6, the bonus points is the score multiplied by 100
If the score is between 7 and 9, the bonus points is the score multiplied by 1000
For invalid scores there are no bonus points (0) Your program must make use of 2 parallel arrays – one to store the scores and the other to store the bonus points. You need to make provision for 5 scores (and bonus points) that will need to be stored.
For this program implement the following methods and use these methods in your solution (do not change the method declarations):
static void getScores(int[] scores)
static void calcBonus(int[] scores, int[] bonusPoints)
static void displayAll(int[] scores, int[] bonusPoints)
Create an enumeration named Month that holds values for the months of the year, starting with January equal to 1. Write a program that prompts the user for a month integer. Convert the user’s entry to a Month value, and display it.
What is OH- of a solution whose pH is 4.732
What is the OH+ of a solution whose POH =4.70
The law of diminishing marginal return applies to the short run only (ie to a situation in which at least one of the firm's inputs is fixed). true or false
If marginal cost is equal to zero, the total cost remains unchanged
True or false
false statement by finding a counterexample
The prevalence of a certain type of cancer among men aged 55−𝟔𝟎 is 1 in 100. A blood test will be positive 95% of the time if the cancer is present but it is also positive 4% of the time if the cancer is not present. 2.1. In a routine checkup, 56-year-old men receive a positive blood test. What is the probability that he has the type of cancer? 2.2. What is the probability that a randomly selected 56-year-old men tests negative?
An aeroplane of mass 1.12 ×10^5 kg is accelerating constantly from rest along a runaway. Calculate the weight of the aeroplane. Name one of the two forces acting on the aeroplane apart from weight. The aeroplane starts from rest and after 50 seconds the aeroplane reaches a speed of 70m/s. Calculate the horizontal force on the aeroplane
balloon can have a maximum volume of 3m3 before or bursts.iy is filled with helium at sea level and 30°C to have a volume of 0,5m3.when it finally bursts it reaches a height where the atmospheric pressure is equal to 11 kPa Calculate the temperature in °C when the Balloon bursts