Write a program that prompts the user to enter the month and year and displays the number of days in the month. For example, if the user entered month 2 and year 2000, the program should display that February 2000 has 29

Answers

Answer 1

Answer:

5

Explanation:

becauss it is impossible to actually di


Related Questions

From her stack of photographs, Alice has to pick images that a photographer shot using the sports mode. Which images would she pick?

Answers

Answer:

1. horses

2. train/ metro

3. child

Given the following code, what logic would you need to include to print all even values stored within the array:

int[] myArray = {1,2,38,4,54,6,7,8,9,10};

for (int i = 0; i < myArray.length; i++) {
//your code goes here
}
NOTE: Your response should be just the missing logic--not the entire problem set.

Answers

The missing logic whigh would allow all the even numbers stored within the array to be printed is if(myArray[i]%2 == 0)

Even numbers are divisible by 2, and hence, will leave no remainder when divided by 2.

Using the modulo operator, each iterated value in the array should be checked if it has a remainder of 0, when divided by 2.

Hence, if the remainder is 0, then the value is even and the value should be printed.

Learn more : https://brainly.com/question/17330574

limitations of systems analysis and design​

Answers

Answer:

Explanation:

Although System analysis offers an extensive range of benefits it might also have some disadvantages. One of the main disadvantages which is mostly overlooked is the risk of too much analysing which may be costly and time consuming. It is therefore part of the analyst's job to find the right balance.

What are different method of selecting items??​

Answers

Answer:

Hold down the "Ctrl" key and the "Shift" key. Press the right arrow key to select the word to the right, or press the left arrow key to select the word to the left. Select one character at a time by holding down the "Shift" key and and using either arrow key (right or left).

Explanation:

follow= return follow

What is mean by SEO?

Answers

Answer:

SEO = Search Engine Optimization

Answer:

Search Engine Optimization

Explanation:

Is the process used to optimize a website's technical configuration, content relevance and link popularity so its pages can become easily findable, more relevant and popular towards user search queries, and as a consequence, search engines rank them better.

5. Power Trio
by CodeChum Admin

Multiplying two numbers is a piece of cake, but how about multiplying three of them, either being a negative of positive number? With programming and proper code, these tasks are easy to handle.

You're a programmer, right? Then code this one for me!

Input
A line containing three numbers (positive or negative, may have decimal places) separated by a space.
1.6·-2·-1

Output
A line containing a decimal/float with one decimal place.
3.2

Answers

Answer:

from decimal import *

li = list(map(Decimal,input().split()))

result = li[0]*li[1]*li[2]

print(abs(result))

Explanation:

The proper or programming code to handle that multiplies three numbers is as follows:

from decimal import *

value = list(map(Decimal,input().split()))

result = value[0]*value[1]*value[2]

print(abs(result))

Code explanation:

The code is written in python.

From the decimal module we have to import *. The decimal module incorporates a notion of significant places so that 1.3*1.2 = 1.56The variable value is used to store the list of the decimal inputThe variable result multiplies the three numbers in the list Finally we print the absolute value of the result.

learn more on python here: https://brainly.com/question/19175881

beth chooses fresh vegetables every time she does marketing. she pares and cuts right away these vegetable considering that they are fresh. the moment she serves the appetizer, she washes the plate and uses it without drying. what statement best describes the situation inside teh box

Answers

Answer:

spell correctly "teh=the

Explanation:

beth chooses fresh vegetables every time she does marketing. she pares and cuts right away these vegetable considering that they are fresh. the moment she serves the appetizer, she washes the plate and uses it without drying. what statement best describes the situation inside teh box

Uhaul general mechanical questions 2021
Not a question. But the answers.

1) The PRIMARY purpose of the dual rear tires on this truck is to: (A) Reduce the chance of a blowout. (B) Withstand a heavier load and add greater stability. (C) Add more weight to the rear of the truck.
B
2) Which of these tools should be used on a Phillips-head screw?
B
3) Which arrow points to the alternator?
C
4) With the truck backing up and the front tires turned as shown, which way will the rear of the truck swing?
A
5) Above are four tools. Three of the tools have a similar function while one is different. Which tool performs the most different function of the four tools?
D
6) Which scaffolding above could probably hold more weight?
B
7) Which refrigerator will be easier to roll over uneven ground?
A
8) Assuming the pick-up trucks, trailers and road conditions are exactly the same, which vehicle will take a longer distance to stop?
B
9) What is the proper battery cable connection when jumping two automotive batteries? (A) Negative to Negative / Positive to Positive (B) Negative to Positive / Negative to Positive (C) It doesn't matter on 12-volt automotive batteries
A
10) Which of these filters is associated with airflow?
A
11) If a box of clothes weighing 10 lbs (4.5 kg) and a box of books weighing 10 lbs (4.5 kg) were placed on a scale, what is most likely to occur?
C
12) Which area will get the smoothest ride?
B
13) Which trailer has more downward pressure where it attaches to the car?
A
14) Which direction will wheel three rotate?
B
15) The tire above has a recommended tire pressure of 35 PSI, however, its current pressure is only 26 PSI. Which of the following could occur if driven on? (A) A tire blowout. (B) Unstable handling of the vehicle. (C) Both A & B.
C
16) Which is the proper position of the adjustable wrench for tightening a nut?
A
17) Which tire has more tread? (A) Image A (B) Image B (C) Cannot be determined
B
18) Which picture best illustrates the correct location for loading ONLY the washer in this trailer?
B
19) Which is the MOST LIKELY use for the following object? (A) Checking for a vacuum source. (B) Checking for the proper voltage at the battery. (C) Checking for electrical current traveling through a wire.
C
20) If this truck backs up with the front tires turned as shown, which way will the rear of the trailer swing?
B
21) Which illustration best demonstrates the safest ladder for this person to use?
A
22) Which method requires the least amount of effort to move the refrigerator?
A
23) With the side gears turning in the direction shown, in which direction will the top gear turn?
B
24) In order for the Hitch ball to be secured properly, what should be the last part assembled? (A) Nut (B) Shank (C) Cotter Pin
C
25) As the truck backs up, which way should the front tires be turned in order to make the trailer follow the road?
B

Answers

Moving or transportation tools, equipment and methods provides guidance

on the safe an efficient ways to move items.

The correct responses are;

1) (B); 2) B; 3) C; 4) A; 5) D; 6) B; 7) A; 8) B; 9) (A); 10) A; 11) C; 12) B; 13) A; 14) A; 15) B; 16) A; 17) B; 18) A; 19) (C); 20) B; 21) B; 22) A; 23) B; 24) (C); 25) B

Reasons:

1) The correct option is; (B) Withstand a heavier load and add greater stability

By sing two wheels on the rear of a truck, heavy loads can be hauled, and transported around corners, and bumpy roads, reducing the possibility of the load tipping the truck over, thereby keeping the truck stable.

2) The correct option is; B

The Phillips-head screw is cross shaped, and required a cross shaped screwdriver, which is option B)

3) The correct option is; C

The alternator converts mechanical rotational energy into electrical energy, and usually has a compact electrical coil and magnets within its enclosure. The alternator is option C

4) The correct option is; A

The rear of a truck moves in the direction the front tires are turned

5) The correct option is; D

Option A  and B are pliers, while option B is a spanner, all of which are used to fasten and loosen bolts and nuts. Option D is a screwdriver used to fasten and loosen screws.

6) The correct option is; B

The working platform on scaffold B has extra support from the diagonal braces.

7) The correct option is; A

The large size tires in refrigerator A increases the contact surface with the road to prevent entering into small holes

8) The correct option is; B

Due to the heavier load in the trailer of pick-up truck B, more force is required, to stop the truck according to Newton's Laws of motion, and therefore, a longer distance will be taken to stop by the truck, given similar conditions (magnitude) stopping force available

9) The correct option is; (A)

Jumping two batteries to start an automotive with a dead battery requires a Negative to Negative / Positive to Positive  connection, which is option (A)

10) The correct option is; A

The air filter will have a open outer rim for the free passage of air.

11) The correct option is; C

The scale measures the difference in weight, and the weight depends on the mass of the item. Given that the mass are equal, both weights would be equal, and therefore, the scale would be level.

12) The correct option is; B

The smoothest ride is closest to the most weight of the vehicle, which is located in the front, therefore, the area that gets the smoothest ride is option B

13) The correct option is; A

The downward pressure is given by the location of the load relative to the wheel on the trailer, that gives either a clockwise or downward moment of force when in position of option A or a counterclockwise or upward moment at B

14) The correct option is; A

Gear connected by belt or chain move in the same direction, therefore, the direction of wheel 3 is option A

15) The correct option is; B

A tire blowout will not occur because, the pressure is below the recommended pressure. However, the motion of the car will be unstable

16) The correct option is; A

When tightening a nut with an adjustable wrench, the direction of turning the wrench is towards the movable jaw, therefore, the option A is correct

17) The correct option is; B

The difference between the threads of the given tires is the depth of their grooves, therefore, the tire in option B has more thread.

18) The correct option is; A

When loading items on a trailer, the majority of the load should be located in the front, therefore, the correct location for loading only the washer is illustrated by the picture A.

19) The correct option is; (C)

The object has a lead, an insulated handle, and a electrical bulb that lights up when there is electricity, therefore, it is used for (C) Checking for electrical current travelling through a wire.

20) The correct option is; B

The trailer swings in the opposite direction to the truck.

21) The correct option is; B

The ladder in picture B is safer because it spreads more at the base

22) The correct option is; A

Most of the weight of the refrigerator act on the wheel in picture A than in picture B

23) The correct option is; B

The gear turns towards the screen on the left and away from the screen on the right, which is a direction from left to right.

24) The correct option is; (C)

The cotter pin is assembled last to hold the bolt in place, and cannot be assembled before the other parts as it will restrict their movement

25) The correct option is; B

The front tire should be turned in the opposite direction to the intended direction of the trailer.

Learn more here:

https://brainly.com/question/69628

How do I get fix the code to make it input 3 values and get the correct output
-------------------------------------------------------------
12.20 LAB: Driving costs - functions

Driving is expensive. Write a program with a car's miles/gallon and gas dollars/gallon (both floats) as input, and output the gas cost for 10 miles, 50 miles, and 400 miles.

Output each floating-point value with two digits after the decimal point, which can be achieved as follows:
print('{:.2f}'.format(your_value))

Ex: If the input is:

20.0
3.1599

the output is:

1.58
7.90
63.20

Your program must define and call the following driving_cost() function. Given input parameters driven_miles, miles_per_gallon, and dollars_per_gallon, the function returns the dollar cost to drive those miles.

Ex: If the function is called with:

50 20.0 3.1599

the function returns:

7.89975

def driving_cost(driven_miles, miles_per_gallon, dollars_per_gallon)

Your program should call the function three times to determine the gas cost for 10 miles, 50 miles, and 400 miles.
---------------------------------------------------
I need help for this part
Ex: If the function is called with:

50 20.0 3.1599

how do I get it to input the three to get the output of 7.89975?
-------------------------------------
My code:

# Define your function here.
def driving_cost(driven_miles, miles_per_gallon, dollars_per_gallon):
return (driven_miles/miles_per_gallon) * dollars_per_gallon

if __name__ == '__main__':
# Type your code here.

# Miles per gallon from input
miles_per_gallon = float(input())

#Dollars per gallon from input
dollars_per_gallon = float(input())


# Display the results as output

print('{:.2f}'.format(driving_cost(10, miles_per_gallon,dollars_per_gallon)))
print('{:.2f}'.format(driving_cost(50, miles_per_gallon,dollars_per_gallon)))
print('{:.2f}'.format(driving_cost(400, miles_per_gallon,dollars_per_gallon)))

Answers

Answer:Change your logic to:

for (int i = 0; i < 4; i++) {

System.out.println("Please input a number between zero to 3");

// use input and don't advance the scanner every time

int input = sc.nextInt();

if (input == 0) {

System.out.println("You have selected " + right);

}

if (input == 1) {

System.out.println("You have selected " + left);

}

// so on and so forth

}

By using sc.nextInt() four times, you are looking for the next token of the input which isn't there. So fetch the input for each run of the for-loop and it will work as expected.

Explanation:

three types of query​

Answers

It is commonly accepted that there are three different types of search queries:

Navigational search queries.

Informational search queries.

Transactional search queries.

If ADD = 81, BAD = 49, and CAD = 64, then what is the value of ACA?

Answers

Answer:

its 72

Explanation:

i know it because i did it and thats how i know it

A computer uses
to follow a set of instructions

Answers

Answer:

A set of instructions that directs a computer's hardware to perform a task is called a program, or software program.

Answer:

which is called a program

Explanation:

state two advantage of using the internet

Answers

Answer:

Seemless communication with other parts of the world

Being able to share files easily

Explanation:

Answer:

communicate with family.

Able to get information from the internet.

Which two wireless technologies are used in IoT?

Answers

Answer:

If you like my answer you can put me in brainlist.

Explanation:

LPWANs. Low Power Wide Area Networks (LPWANs) are the recent development specifically designed for the requirements for IoT. ...

Cellular (4G and 5G) ...

Zigbee and Other Mesh Protocols. ...

Bluetooth and BLE. ...

Wi-Fi. ...

RFID.

Hope this is helpful to you.....

Wifi and Bluetooth .

Write a program that prompt the user to enter a bank balance. The balance entered by the user is read into a variable named balance. The program then prompts the user to enter the amount to be deposited. The amount entered by the user is read into a variable named deposit. The program that calculates the new balance, which is the present balance plus the deposit. The program then displays the new balance.

Answers

Answer:

ertyuiopoijuhgfdsa hiyoufun tresdfghytrefgytredfg

Explanation:

look for the words

Other Questions
1. What causes war?2. How to resolve conflict?3. Does war resolve conflict ? Yes or No Enter the greatest common factor of 6 and 4 Plssssssssssssssssss slove I don't know how to solve this A well with 40 m internal diameter is dug 14 m deep. The soil taken out is spread all around to a width of 20 m to form a circular embankment, find the height of the embankment. Don't Spam Anyone know the answer????? In what ways are the rights of free speech and press limited? positive. negative how other think of you. Behavior and attitudes Describe your self ,Physical mental social emotional and ethical Elabore 10 preguntas acerca del contenido de la obra EL MUNDO DE SOFIA Which is a phrase A.because she likes soup B.after the restaurant c.my best friend D.the tree fell Qu significa "paradjicamente Gandhi muri asesinado"? Which sentence is the best example of forshading. Carmen woke up with a headache and decided not to go to work. 2. Carmen looked forward to going to her challenging job everyday. 3. Even though it looked like rain, Carmen didnt take her umbrella. 4. Carmen got ready for work and left on time to catch the train. (Please Help) (50 Points) Write the equation for the transformations of the graph of y = x^2Use the form: y = a (x-h)^2 +kTranslated 2 units left and 7 units down. If r = 30 and t = 6, what is the value of the following expression?r + 48 t 4 A. 68 B. 73 C. 52 D. 62 the statement that hormones are involved in the regulation of homeostasis? -2z+3-z=-4z+2 please give me the answer Find x for brainiest PLS HELPPPFIND X I will mark braniliest jaki jest udzia pastw Azji w wiatowej produkcji rolin i zwierzt.blagam o pomoc na dzis daje naj!!!!! Pls help for this exercise in the hobbit Where is the group at the chapter's end?Question 4 options:at a shelter with a good viewsafe in the tunnelin a feasting hall in the mountain