more Explanation
more explantion
Write a Java Program that asks the user for 12 months worth of rainfall stats. These values should be entered by the user and placed in an array. Once all the values are entered the
program should print out the average rainfall per month, highest rainfall month, and lowest rainfall month. Use the following values: Jan - 1.2", Feb - 2.8", Mar - 4.9". Apr - 11.3", May
12.3", June - 10.1", Jul - 7.9". Aug - 8.1", Sep - 6.7", Oct - 5.3", Nov. - 4.2". Dec - 3.9".
The average is: 6.5583, month with largest - May, month with lowest - Jan.
-
5
The program is an illustration of conditional statements and loops.
Conditional statements are used to make decisonsLoops are used for iterative purposesThe main program.The program written in Java, where comments are used to explain each action is as follows:
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
//This declares the array
double rainfall[] = new double[12];
//This initializes the total amount of rainfall
double total = 0;
//This gets input for the array
for(int i = 0; i < 11; i++){
rainfall[i] = input.nextDouble();
total+=rainfall[i];
}
//This initializes the smallest and the largest amount of rainfall
double largest = 0; double smallest = 0;
int smallestMonth = 0; int largestMonth = 0;
for(int i=1; i< 12; i++){
//This determines the largest amount of rainfall
if(rainfall[i] > largest){ largestMonth = i; largest = rainfall[i]; }
//This determines the smallest amount of rainfall
else if (rainfall[i] < smallest){ smallestMonth = i; smallest = rainfall[i]; }
}
//This initializes the months
String months[] = new String[]{"January","February","March","April","May","June","August","September","October","November","December"};
//This prints the required output
System.out.println("The average is: " + total/12+", month with largest - "+months[largestMonth]+", month with lowest - "+months[smallestMonth]);
}
}
Read more about conditional statements and loops at:
https://brainly.com/question/24833629
greg is using the microsoft office application and unsure of how to use microsoft access who should help resolve the problem
The best person to help Greg in the use Microsoft access is computer Trainer.
What is Microsoft Access used for?The use of Microsoft Access is known to be a form of information management software that often aid a person in the saving of information and also for reference, reporting, etc.
The best person to help Greg in the use Microsoft access is computer Trainer as he or she will teach Greg all that is to be known concerning the software.
See options below
Help Desk Representative
Computer Trainer
Manager
All of the above
Learn more about Microsoft from
https://brainly.com/question/1538272
briefly explain how ict has become a competitive to in supply chain management
Answer:
In contemporary times, supply chains can be sources of competitive advantage as efficient management of the supply chain leads to cost savings and synergies between the components of the supply chain leads to greater profitability for the firms.
Explanation:
List the factors that affect the CPU performance?
what are computer packages?
Answer:
Application packages include word processors, spreadsheets, databases, graphics, and presentation software. Generic software is a term used to describe this sort of software.
Answer:
Word processors, spreadsheets, databases, graphics and presentation software are all examples of application packages. Hope this helps!
Explanation:
The Synonyms submenu offers a list of synonyms for a word. Is it always a good idea to use whatever synonyms are presented on the Synonyms submenu for a given word? Why or why not?
Answer:
No
Explanation:
Synonyms are sometimes NEARLY the same. Not exactly the same. Therefore the meanings can change a bit. For example a synonym for "bad" is "careless."
"I think corn is bad."
and
"I think corn is careless." - this sentence wouldn't make sense.
That's why, no, you shouldn't ALWAYS use the synonym.
The way we deal with people snooping on internet connections is..
Select one:
a.
We don't send sensitive information over the internet.
b.
We avoid routers and use direct connections.
c.
We depend on the routers to vary routes a lot to confuse listeners.
d.
We secure our communication by encrypting it.
When a transition is applied to a slide, how is it visible in slide sorter view
Answer:
a small icon
Explanation:
Go to the Slide Sorter View. If you've applied a transition effect to any of the slides then PowerPoint places a icon
The computing field tends to be
some minority groups. Select 2 options.
discouraging towards
underrepresented by
full of
overrepresented by
satisfactory to
Answer:Below
Explanation:
The computing field tends to be discouraging towards and underrepresented by some minority groups.
The computing field is often discouraging towards and underrepresented by certain minority groups which means that individuals from these groups face challenges and obstacles in accessing and thriving in the field, while their presence and representation within the computing industry are significantly lower compared to other groups.
Efforts are needed to address these disparities and create a more inclusive and diverse computing community.
To learn more on Computing field click:
https://brainly.com/question/30168113
#SPJ2
To add a block device to a VDO volume, use the following command.
what is the hierarchical system used by windows?
Answer: Files are placed in a hierarchical structure. The file system specifies naming conventions for files and the format for specifying the path to a file in the tree structure. Each file system consists of one or more drivers and dynamic-link libraries that define the data formats and features of the file system.
Explanation:
¯\_(ツ)_/¯
did anyone know what's the problem here?
Answer:
porbaly an error or bug
Explanation:
Anyone knows how to answer this?
Answer:
2. The human walking that is turning bigger
3. The artist show repetition by making the same pattern in one image but it just getting closer and larger.
4. Maybe the artist could add more repetition details in the top image and make the bottom image more less confusing to understand.
[ASAP!] Question # 6 (Visual Python)
Multiple Choice
Which line of code moves the ball up?
1. myBall.pos.z = myBall.pos.z + 2
2. myBall.pos.x = myBall.pos.x + 1
3. myBall.pos = myBall.pos + 1
4. myBall.pos.y = myBall.pos.y + 2
The line of code that moves the ball up is myBall.pos.y = myBall.pos.y + 2. The correct option is 4.
What is code?The term "code" typically refers to a set of instructions written in a programming language and executable by a computer or interpreter to perform a specific task or set of tasks.
Code can be used to create software, websites, games, scripts, and other things. Python, Java, C++, JavaScript, and Ruby are among the programming languages that can be used to create it.
The line of code myBall.pos.y = myBall.pos.y + 2 is assigning a new value to the y-coordinate of the position vector myBall.pos of the object named myBall.
The new value of the y-coordinate is calculated by taking the current value of myBall.pos.y and adding 2 to it. The result is then assigned back to myBall.pos.y, effectively updating the position of the myBall object.
Thus, the correct option is 4.
For more details regarding code, visit:
https://brainly.com/question/1603398
#SPJ5
Irina proofread her résumé by using the Spelling and Grammar Check In Microsoft Word. What did the word processorIncorrectly catch as an
error?
OA. capitalization of the state name
OB. grammatical errors
OC speling error on the word "organisation"
OD. spelling error on the name "Rowell Industries
OE duplicate words
If I've understood your question properly...
I'd go for:
OC spelling error on the word "organisation"
In the US they tend to spell it "organization", and in the UK they tend to spell it "organisation".
Write a sub-program to display the acceleration of car. The program should ask initial velocity, final velocity, and time taken by the car from user in main module and pass them as parameter list when a sub- program is called.
Explanation:
If your asking the program in modular programming of Q-Basic & in sub procedure then here it is.
I hope it will help you..
- Regards Rishab..
While multiple objects of the same class can exist, in a given program there can be only one version of each class. a) True b) False
Answer:
A) True
Explanation:
convert the following binary to decimal number .
a). 101101
[tex](101101)_2\\\\=1\times 2^5 + 0 \times 2^4 + 1 \times 2^3 +1 \times 2^2 + 0 \times 2^1+1 \times 2^0\\\\=32+0+8+4+0+1\\\\=(45)_{10}[/tex]
Write a function that receives a one-dimensional array of integers and returns a Python tuple with two values - the minimum and maximum values of the input array. The content of the input array must not be changed. You may assume that the input array will contain only integers, and will have at least one element. You do not need to check for these conditions. For full credit, the function must be implemented with O(N) complexity.
The function that receives array of integers and returns the minimum and maximum values as a tuple is as follows:
def min_max(array):
x = min(array)
y = max(array)
return (x, y)
print(min_max([4, 6, 7, 8, 1, 8, 14]))
Code explanationThe code is written in python.
We defined a function named "min_max". The function accepts a parameter called array.The variable x is used to store the minimum value of the array.The y variable is used to store the maximum value of the array.Then, we return the minimum and maximum values as a tuple.Finally, we call the function with the required parameter.learn more on python here: https://brainly.com/question/13199913
What part of the microcomputer is considered the "brain" that follows the
instructions sent to it by software running on the computer?
O A. Monitor
O B. Central processor unit (CPU)
O C. Read-only memory (ROM)
O D. Random access memory (RAM)
SUBMIT
Answer:
The computer has an electronic brain called the Central Processing Unit/CPU, which is responsible for processing all data into information according to the instructions given to the computer.
Explanation:
Answer:
A
Explanation:
1. Imagine you were using Blender to create a cone-shaped mesh and changed the number of
vertices from the default of 32 to just 3. What shape would you end up with?
Answer:
A triangle
Explanation:
Three vertices make a triangle.
aya what's the full form of JPEG ?
Hi!jpeg stands for "Joint Photographic Experts Group."
Answer:
"Joint Photographic Experts Group",
Explanation:
JPG is a digital image format which contains compressed image data. With a 10:1 compression ratio JPG images are very compact. JPG format contains important image details. This format is the most popular image format for sharing photos and other images on the internet and between Mobile and PC users.
The stratis command that will display the block devices included in pool is ____________.
Answer:
The lsblk command
Explanation:
You'd run the lsblk command :]
Answer:
isblk command
Explanation:
may anyone please help me here thank you!
Answer: I do not know if this is all letters if you use answer key on there search use that, this will may help you so enjoy
Explanation:
List the factors that affect the CPU performance?
Why Is Microsoft software so dominant in the business world?
Answer:
Their successes can largely be attributed to information cascades and network effects. Despite alternative solutions that many claim are better than Windows and Office, the Microsoft products maintain their overwhelming majority in the market. The direct-benefits achieved by using Microsoft software are easy to see.
Explanation:
The project team is creating detailed documents to guide the team. What phase of the project life cycle are they in?
A. project planning
B. project initiation
C. project closure
D. project execution
Answer:
they are in project planning
Can someone tell me why this keeps exiting no matter what move and how I can fix it I honestly hate this class... you guys can have 100 points
#Andrew
#IT140
#ModuleSixMilestone
rooms = {'Manor Entrance': {'South': 'Foyer'},
'Foyer': {'North': 'Manor Entrance', 'West': 'Cellar'},
'Cellar': {'East': 'Foyer'},
'Exit': {'Exit': 'Exit'}} # The dictionary links a room to other rooms.
currentRoom = 'Manor Entrance' # Start the player in the Manor Entrance.
print('Move commands: North, South, East, West, Exit.')
print(' ------------------- ')
print('You are in the Manor Entrance.')
print('Enter your move or exit the game. -> ')
# User input a command to either move to another room or exit the game.
# If the player enters "exit", the game should move them to the "exit" room.
moveCommands = ['North', 'South, ''East', 'West', 'Exit']
command = input()
# Gameplay loop for moving to different rooms.
if currentRoom == rooms['Manor Entrance']:
if command == 'Exit': # If the player enters "exit", the game should move them to the "exit" room.
print('The virus will destroy the world now that you have quit.')
elif command == 'South':
print('You entered the Foyer!')
print(currentRoom[1])
elif command <= 'South':
print('Error. Try again!') # Print an error message if the player enters an invalid direction.
if currentRoom == rooms['Foyer']:
if command == 'Exit': # If the player enters "exit", the game should move them to the "exit" room.
print('The virus will destroy the world now that you have quit.')
elif command == 'West':
print('You entered the Cellar!')
print(currentRoom[2])
elif command <= 'West':
print('Error. Try again!') # Print an error message if the player enters an invalid direction.
if currentRoom == rooms['Cellar']:
print('You win! You have made it to the Cellar and destroyed the Nemesis!')
if command == 'Exit': # If the player enters "exit", the game should move them to the "exit" room.
print('You have eradicated the Virus.')
Answer:
Something like this?
The only requirement this doesn't exactly hit is moving the user to the "exit" room. It doesn't make use of that entry in the dictionary. However, this is the best way of doing it to avoid multiple "if" statements.
Select the correct answer.
If you want to develop an Android app, you need to become a registered developer with which platform?
Answer:
C. Android
Explanation:
C. Android is the answer for your question
Answer:
c it's the only thing, you have to know how to work androids
"An email comes from your boss who says his laptop, phone and wallet has been stolen and you need to send some money to an account right away".
what do you think is the type of computer security this type of email come under and what is the name of the specific security attack?
Answer: Phishing attack
Explanation:
Phishing attacks are extremely common and involve sending mass amounts of fraudulent emails to unsuspecting users, disguised as coming from a reliable source (in this case, his/her boss seems to be sending the message, which seems like a pretty reliable source.)
Also, if his phone and laptop was stolen, he proably would not be able to send an email, and it seems strange to ask one of his workers for money, instead of contatcing the police, the bank, and/or one of his family members.