Answer:
Attachment
Explanation:
I send a lot of email
Explain the process of creating a switch statement to replace an if-then-else statement in Java.
Answer:
The answer to this question is given in the explanation section.
Explanation:
Let look at an if the else statement
if (condition1) {
//some code if condition 1 is true
} else if (condition2) {
// some code if condition 2 is true
} else {
// some code if condition 3 is true
}
No let look at switch statement
switch(expression) {
case x:
// code block
break;
case y:
// code block
break;
default:
// code block
Now let look at your answer.
if then else should be replaced with switch if conditions are fixed.
in the process of replacing
write your condition of if statement in the case area of swatch
Answer:
The answer to this question is given in the explanation section.
Explanation:
Let look at an if the else statement
if (condition1) {
//some code if condition 1 is true
} else if (condition2) {
// some code if condition 2 is true
} else {
// some code if condition 3 is true
}
No let look at switch statement
switch(expression) {
case x:
// code block
break;
case y:
// code block
break;
default:
// code block
Now let look at your answer.
if then else should be replaced with switch if conditions are fixed.
in the process of replacing
write your condition of if statement in the case area of swatch
Which type of game is based on doing the best you can with a random setup, emphasizing flexible planning and risk-
taking?
A:card games
B:board games
C:dice games
D:all games
PLSSS PLSSS HELP MEEE
Answer:
Card Games
You get completely random cards, so you have to plan as you go.
Answer:
A. card games
help plz
1. Write a function to return the larger of two numbers entered from two user inputted values, where the user inputs are entered after the displays of “First Entry =” and “Second Entry = ”. The numbers should be decimal values (not just integers).
2. Write a function to return the word that is first alphabetically from two user inputted text entries, where the user inputs that text by entering their own words after the displays of “First Entry =“ and “Second Entry =“. Remember that you can use the operators with strings. (You can assume that the user only inputs lower case words.)
1.
first = float(input("First Entry = "))
second = float(input("Second Entry = "))
def func(num1, num2):
return max(num1, num2)
print(func(first, second))
2.
first = input("First Entry = ")
second = input("Second Entry = ")
def func(word1, word2):
return sorted([word1,word2])[0]
print(func(first, second))
I hope this helps!
In this exercise we have to use the knowledge of computational language in python to write the following code:
The code can be found in the attached image.
That way, to find it more easily we have the code like:
First code:first = float(input("First Entry = "))
second = float(input("Second Entry = "))
def func(num1, num2):
return max(num1, num2)
print(func(first, second))
Second code:first = input("First Entry = ")
second = input("Second Entry = ")
def func(word1, word2):
return sorted([word1,word2])[0]
print(func(first, second))
See more about python at brainly.com/question/26104476
Mandy is writing a paragraph about her favorite basketball team. She wants to explain that the team is so successful because the players work together. What would be the best type of evidence to illustrate Mandy’s proposed topic? a few examples of how the players successfully scored points a brief history of the game of basketball a quotation from the coach about the players a comparison of current players with past successful members of the team
Answer:
A ) a few examples of how the players successfully scored points
edge 2021 :)
Answer: (A)
Explanation: Just got it right.
Complete the following sentence.
Some manufactured dams produce BLANK power in addition to retaining water.
Answer:
Some dams produce renewable hydroelectric power
Explanation:
hydroelectric is power from water
Answer:
hydroelectricExplanation:
The correct answer is hydroelectric. Dams are structures created to serve as a barrier and to retain water. Some dams are also used to produce hydroelectric power.
what are the difference between of panchayat and multi party system
Answer:
The parties in a multi-party system can control government separately or as a coalition; in a two-party system, however, coalition governments rarely form.
Traditionally Panchayats consisted of elderly and wise people chosen by the local community, who used to settle disputes between individuals and villages. The leader of the panchayat used to be called as Mukhiyas or Sarpanch.
Explanation:
A large corporation uses:
A.
LAN
B.
WAN
C.
Wireless network
D.
Ethernet connection
Answer:
WAN
but im saying this bc you cant mark brainliest with only 1 answer there
Answer:
B: WAN
Explanation:
Teens are more likely to access the news online or by watching the news on TV.
OA. True
OB. False
WILL GIVE BRAINLIEST!!! 15 POINTS!! HELPPPP!!
Tonya wants to add a button to a webpage. Which language should be used?
A. Python
B. HTML
C. JavaScript
D. CSS
Answer:
B and C both will be right answers
Answer:
B and C are both correct answers
Explanation:
The pins on the temperature sensor are connected to;
A temperature sensor creates a changing voltage signal depending on the temperature it senses. It has three pins: one that connects to ground, another that connects to 5 volts, and a third that outputs a variable voltage to your Arduino, similar to the analog signal from a potentiometer.
The Danger zone around a robot is?
maybe a EMP. tell me if im right
Answer:
the area the robot can reach or the work envelope and where all the robots tasks takes place. ... OSHA, the system had an E-stop on it to shut down the robot if needed
Which options are qualities of all good requirements documents?
Consistent
llustrated
verifiable
printed
scholarly
feasible
Plagiarism occurs when a person does not cite a source that they referred to or
quoted from.
True
False
Answer:
True
Explanation:
Answer:
True
Explanation:
When code is compiled it
A) is read directly from the program.
B)is made into a smaller version.
C) runs slower.
D) is converted into binary code.
Answer:
A compiler takes the program code (source code) and converts the source code to a machine language module (called an object file). Another specialized program, called a linker, combines this object file with other previously compiled object files (in particular run-time modules) to create an executable file. In short, it's A or D.
Answer:
D - is coverted to binary code
Explanation:
A compiler takes the program code (source code) and converts the source code to a machine language module (called an object file). Another specialized program, called a linker, combines this object file with other previously compiled object files (in particular run-time modules) to create an executable file.
Help
SOS
Quick
Hurry
need help asap plzz can you take advantage of the information on social media sites related to careers you are interested in
Answer:
(The social media site which lets you earn money) lets you post any contents as long as it follow the rules. The advantage information about (The socia media mentioned earlier)is that you can earn money, for making what you want.
Explanation:
fill in the blanks
what are hard ware and software requirments in multimedia computer system
if u can answer i will mark u as brainilst please help me
Answer:
Some hardware requirement: Monitor, keyboard, mouse, sound card, memory, processor, graphics display card. Some software requirement: Windows XP/Vista, Video for Windows, Quicktime.
Explanation:
BRAINLEST
Where would you go to access frequently used icons?
File explorer
File manager
Toolbar
Web browser
Answer:
b
Explanation:
Answer:
C.) Toolbar
Explanation:
The toolbar is a strip of icons that are frequently used.
print("Student" == "Teachers" or 99 != 88) will output False
true or false
Answer:
it will output True, so the statement is false
Explanation:
PLZZZ HELPPPP
Which list can be sorted with a bubble sort?
(4, 5, 6, 7)
('dog', 'cat', 'fish')
['dog', 'cat', 'fish', 'bird']
[2, 5, 'dog', 'cat']
Answer:
dog cat fish bird
Explanation:
Answer:
dog cat fish bird
Explanation:
i got it right
why did the chicken cross the road wrong answers only lol
Answer:
to find the store his dad went to for the milk
Explanation:
trust bro trust
Answer:
becuase he weird
Explanation:
Which is an example,of an input devices? Choose the answer.
printer
speaker
microphone
monitor
Answer:
microphone
Explanation:
You have to plug in microphones, and if you plug it in, it is considered an input.
look plz help :))))))))))))))))))))
Answer:
false
Explanation:the answer is false
True or false. The PIC is an inter grated circuit in which the microprocessor architecture, along with read only memory (ROM) and random access memory (RAM), are all placed into one integrated circuit that may be reprogrammed; the microprocessor cannot.
Answer:
your partner in crime can not ROM around without a RAM.
Explanation:
so it would be false.
do you have to be in hard mode in terraria to make the timeless traverler vanity set
What is the definition of bug?
What will happen when you run this program?
num = 10
while num > 0:
print (num)
a Syntax Error
b Logical fallicy
c Infinite loop
d Definite loop
Answer:
C. Infinite loop
Explanation:
num will be printed continuously since it will always be bigger than [tex]0[/tex] ([tex]10[/tex] is greater than [tex]0[/tex], satisfying the condition num > 0) making it an infinite loop since it will go on forever.
Hope this helps :)
pls help IM BEGGING U ITS 10 POINTS PLS
For months, Aida and her three closest friends hod been waiting for a new movie to come out. The movie was
based on one of their fovorite books, ond they promised they would see it all together and then go out fpr
plzza. On the movie's opening weekend, Aida had a lost minute emergency ond wasn't able to go. The others
decided to go anyway becouse they had really been looking forwad to it. That night they posted costantly
about their fun ond new inside jokes. Aida wonted to keep connected, but seeing the constant posts bummed
her out. She felt like no one even cared that she had missed out on their plans.
Imagine: Imagine how the situation could be handled. Come up with as many ideas as
possible: There's no one "right" answer! Then, highlight which option might lead to the most
positive outcome, where most people feel good or taken care of.
Answer:
It's your Opinion/Decision.
Explanation:
In general, her group of friends could've been considerate people, and should have remembered that she couldn't go and NOT posted about it, and tell her about it the next time they met up.
What is not a way to lower your risk of drowsy driving?
Answer:
Taking a night time medicince (such as benedryl), or drinking alcohol beofre drviving.
Explanation:
Brainliest please :)
WILL GIVE BRAINLIEST!! 20 PNTS!!!
What will be the output of these lines of code:
for i in range (1, 5):
print(i)
A. IndentationError
B. PrintError
C. 1 2 3 4
D. 1 2 3 4 5
Answer:
C 1,2,3,4
Explanation:
This means I want to count from 0-4 and set it o the current loop I am currently on.
for i in range(0, 5):
print("i currently equals: ", i)
The result will be
i currently equals: 0
i currently equals: 1
i currently equals: 2
i currently equals: 3
i currently equals: 4
Answer:
c. 1 2 3 4
Explanation:
i got it right on edge