Explanation:
hello I don't know ok sorry
What's your favorite movie or book
Mine are: the fault in our stars(book),and Love Simon(movie)
Answer:
preety much any movie with a camaro in it aside from harry potter XD
Explanation:
Answer:
My answer probably The Hunger Games and the Spongebob Movie
Explanation:
They're nice also Warriors
Write a function that prompts the user to enter the speed of a vehicle. If speed is less than 20, display too slow; if speed is greater than 80, display too fast; otherwise, display just right
The code of the given problem is given below :
#include<iostream>
using namespace std;
void print( float speed ){
if(speed < 20 )
{
cout<<"too slow\n";
}
else if(speed > 80 )
{
cout<<"too fast\n";
}
else{
cout<<"right\n";
}
}
int main()
{
print( 18.6 );
print( 45 );
print( 100 );
return 0;
}
Does anyone know where i could watch the move
“little house: look back to yesterday” i cant find it ANYWHERE!!!!
Answer:
AMC Rosemary Square 12 and Apple The Gardens Mall and Muvico Theaters Automatic Ticketing and Rosemary Square and Apple Wellington Green and Walmart Supercenter
Explanation:
In a large kitchen what is meant by the partie system? Who devised this system?
Answer:
While at the Savoy in London, Escoffier formally introduced his army-influenced organisational method to the kitchens there. It became known as the Chef de partie system, and the idea was to avoid duplication of tasks, and to make communication between the various staff members easier.
Write a C++ program that displays the tariff charges for reaching different destinations by bus. Show a list of five destinations • Get the input for the destination from the user and depending on that display the fare of destination station • Give a brief description of the chosen destination (Min 5 statements; use numbering) • If the user gives a wrong input, display an error message
Answer:
#include <iostream>
#include <map>
using namespace std;
int main(){
map<string, double> destination;
string search;
char isEnd = 'n';
while (isEnd == 'n'){
string dest;
double tarrif;
cout<<"Enter destination: ";
cin>> dest;
cout<<"Enter tarrif: ";
cin>> tarrif;
destination.insert(pair<string, double>(dest, tarrif));
cout<<"Do you want to add more locations? y/n: ";
cin>> isEnd;
}
cout<<"Enter a search term: ";
cin>>search;
auto iter= destination.find(search);
cout<< "The tariff for "<<iter->first<<" is: "<<iter->second;
}
Explanation:
The C++ source code provides the input prompt to fill the map data structure "destination". The structure contains data of mapped locations and tariffs. The program also prompts user to search for the tariff of their desired location, if the location is in the map, the tarrif is given else an error message is displayed.
differences between analog computer and hybrid computer
Answer:
Analog computers only work with continuous numerical data in analog quantities, digital computers can process both non-numerical and numerical data and a hybrid computer is a combination of both analog and digital. A hybrid computer has the accuracy of a digital computer paired with speed of an analog one.
Answer:
sorry for bad picture
hope it helps you have a good day keep smiling be happy stay safe ☺️How will you search for your preferred data in a long list by applying filtering. In MCS exel
Consider Emily's balance statement:
a) Emily's supervisor asked her to revise the balance statement. What does she need to revise? Why?
Answer: The purpose of a balance sheet is to give interested parties an idea of the company's financial position, in addition to displaying what the company owns and owes.
Explanation:
Select the correct answer from each drop-down menu.
Which US government departments fund the Global Positioning System?
The Global Positioning System is funded by the Department of ____
A. Information
B. Defense
C. Tourism
and the Department of ____
A. Intellengence
B. Consumer Affairs
C. Transportation
Please answer!!! Please dont answer if you dont know the answer
.
the global posting system is funded by the department of Defense
Answer: 1. Defense 2. Transportation
Explanation:
This question involves a simulation of a two-player game. In the game, two simulated players each start out with an equal number of coins. In each round, each player chooses to spend either 1, 2, or 3 coins. Coins are then awarded to each player according to the following rules.
Same rule: If both players spend the same number of coins, player 2 gains 1 coin.
Off-by-one rule: If the players do not spend the same number of coins and the positive difference between the number of coins spent by the two players is 1, player 2 is awarded 1 coin.
Off-by-two rule: If the players do not spend the same number of coins and the positive difference between the number of coins spent by the two players is 2, player 1 is awarded 2 coins.
The game ends when the specified number of rounds have been played or when a player’s coin count is less than 3 at the end of a round.
The CoinGame class is shown below. You will write two methods in the CoinGame class.
public class CoinGame
{
private int startingCoins; // starting number of coins
private int maxRounds; // maximum number of rounds played
public CoinGame(int s, int r)
{
startingCoins = s;
maxRounds = r;
}
/** Returns the number of coins (1, 2, or 3) that player 1 will spend.
*/
public int getPlayer1Move()
{
/* implementation not shown. */
}
/** Returns the number of coins (1, 2, or 3) that player 2 will spend, as described in part (a).
*/
public int getPlayer2Move(int round)
{
/* to be implemented in part (a) */
}
/** Plays a simulated game between two players, as described in part (b).
*/
public void playGame()
{
/* to be implemented in part (b) */
}
}
In the simulation, player 2 will always play according to the same strategy. The number of coins player 2 spends is based on what round it is, as described below.
(a) You will write method getPlayer2Move, which returns the number of coins that player 2 will spend in a given round of the game. In the first round of the game, the parameter round has the value 1, in the second round of the game, it has the value 2, and so on. The method returns 1, 2, or 3 based on the following rules.
If round is divisible by 3, then return 3.
If round is not divisible by 3 but is divisible by 2, then return 2.
If round is not divisible by 3 and is not divisible by 2, then return 1.
Complete method getPlayer2Move below by assigning the correct value to result to be returned.
/** Returns the number of coins (1, 2, or 3) that player 2 will spend, as described in part (a).
*/
public int getPlayer2Move(int round)
{
int result;
return result;
}
Write the method playGame, which simulates a game between player 1 and player 2, based on the rules and example shown at the beginning of the question. Both player 1 and player 2 start the game with startingCoins coins. Computer player 1 spends 1, 2, or 3 coins based on the value returned by the method getPlayer1Move(). Computer player 2 spends 1, 2, or 3 coins based on the value returned by the method getPlayer2Move().
The game ends when maxRounds rounds have been played or when a player’s coin count is less than 3 at the end of a round.
At the end of the game, the winner is determined according to the following rules.
If both players have the same number of coins at the end of the game, the method prints "tie game".
If player 1 has more coins than player 2, the method prints "player 1 wins".
If player 2 has more coins than player 1, the method prints "player 2 wins".
(b) Assume that getPlayer2Move works as specified, regardless of what you wrote in part (a) . You must use getPlayer1Move and getPlayer2Move appropriately to receive full credit.
Complete method playGame below.
/** Plays a simulated game between two players, as described in part (b).
*/
public void playGame()
[A] Let's simplify the getPlayer2Move rules first.
If round is divisible by 3, then return 3if a number is divisible by another number that means the remainder of the division is 0. We can write the code as follows:
if (round%3 == 0)
result = 3;
If round is not divisible by 3 but is divisible by 2, then return 2.Same as the previous one, we are going to use the remainder operation. We can use an else-if condition here.
else if (round%2 == 0)
result = 2;
If round is not divisible by 3 and is not divisible by 2, then return 1.An else would work fine here.
else
result = 1;
The full code of part A is attached below.
[B]
playGame method:
Let's have a quick look at the game rules first:
If both players spend the same number of coins, player 2 gains 1 coin.This can be translated to if player1Spending == player2Spending, then player2 gets a coin.
If the players do not spend the same number of coins and the positive difference between the number of coins spent by the two players is 1, player 2 is awarded 1 coin.If the absolute value of (player1Spending - player2Spending == 1) then player2 gets awarded.
If the players do not spend the same number of coins and the positive difference between the number of coins spent by the two players is 2, player 1 is awarded 2 coins.We can either use an else statement or a separate conditional statement here, but I'll go for the else statement.
We can use a while loop to detect when the game ends, either a player's coins is less than 3 OR when the maxRounds have been played.
HELLLLLLLLPPPPPPPPPPPP HHHHHHHHHEEEEEEEEELLLLLLPPPPPP MEEEEEEEE
"What is the capital of Belarus?" is an example of what type of search query?
A. Boolean operator
B. HTML markup language
C. Natural language
D. Keyword phrase
Answer:
C. Natural language
Explanation:
this is because the search query uses normal letters and phrases without attaching codes
Natural language is the capital of Belarus.
What is Capital of Belarus?As the nation's capital, Minsk enjoys exceptional administrative privileges and serves as the hub for both Minsk District and Minsk Region. With a population of 2 million as of January 2021, Minsk was the eleventh most populous city in Europe.
One of the administrative capitals of the Eurasian Economic Union (EAEU) and the Commonwealth of Independent States (CIS) is Minsk.
Minsk was first recorded in 1067 and later served as the principality's capital until it was captured by the Grand Duchy of Lithuania in 1242.
Therefore, Natural language is the capital of Belarus.
To learn more about Natural language, refer to the link:
https://brainly.com/question/12093401
#SPJ5
SOMEONE PLEASE HELP ME OUT WITH!!!!!
How do the arguments for the drawLine() method compare to the arguments for drawOval or drawRect()?
A
In all three cases the first two arguments define the top-left point in the figure, and the last two arguments define the bottom-right point.
B
In all three cases the first two arguments define a starting point, and the last two arguments define a width and length for the figure.
C
In all three cases the first two arguments define a starting point for the figure. For drawLine(), the last two arguments define the line's other endpoint, while for drawOval() and drawRect() they define the shape's width and height.
D
The drawLine() method uses a point, angle, and length for arguments, while drawOval() and drawRect() use a point, a width, and a height.
Answer:
The answer is option C "In all three cases the first two arguments define a starting point for the figure. For drawLine(), the last two arguments define the line's other endpoint, while for drawOval() and drawRect() they define the shape's width and height"
Explanation:
All the three methods are used to draw shapes and below is how arguments are passed in each method:
1. drawLine( int x1, int y1, int x2, int y2)
Draws a line, between the points (x1, y1) and (x2, y2)
2. drawRect( int x, int y, int width, int height)
Draws the outline of a rectangle of the specified width and height whose top left corner is at position (x,y).
3. drawOval( int x, int y, int width, int height)
Draws the outline of an oval. The result is a circle or ellipse that fits within the rectangle specified by the x, y, width and height arguments
Select the correct text in the passage.
Which phrases or sentences in the passage denote operations that the hospital carries out with the help of computers?
David’s family took him to a hospital as he was suffering from a serious ailment. As soon as he was admitted, the hospital authorities recorded David’s medical history. Later, the doctors had a talk with David’s parents about their son’s condition. David was then placed in an intensive care unit (ICU) where his vital signs were constantly monitored. He was also given a lot of medication throughout the entire day.
Answer: When was admitted, hospital authorities recorded his medical history. Then, placed in an ICU where his vital signs were constantly monitored.
Explanation: With the help of computers, medical histories are often kept in the computer for future reference. Machines are connected to computers to record vital signs.
Answer:
Explanation:
nnnnnnnnnnnnnnnnnnnnnnn
How can you refer to additional information while giving a presentation?
When a loop executes, the structure-controlling condition is ______________. Group of answer choices tested only if it is true, and not asked if it is false tested exactly once tested either before or after the loop body executes never tested more than once
Answer:
tested either before or after the loop body executes
Explanation:
When a loop executes, the structure-controlling condition is "tested either before or after the loop body executes."
This is evident in the fact that during loop execution, the control structure moves across the statements subsequently, should the statement be true, the loop execution continues until it becomes false, then the loop terminates.
When a loop executes, the structure-controlling condition is tested either before or after the loop body executes which is the third option as in programming, loops are used to repeat a certain block .
When the loop is encountered, the structure-controlling condition is evaluated once at the beginning of each iteration, and if the condition is true, then the loop body is executed. If the condition is false, the loop is exited, and the program execution continues with the next statement following the loop, and the key characteristic is that the structure-controlling condition is tested exactly once per iteration.
Learn more about the loop here.
https://brainly.com/question/20344495
#SPJ6
d. What are the strengths and weaknesses of a computer system?
Answer:
The answer is below
Explanation:
Computer System also known as Personal Computer is widely referred to as having various strengths and weaknesses.
Some of the strengths of a computer system are the following:
1. Speed: computer systems are generally faster than human in executing tasks
2. High storage capacity: it has high memory or storage capacity that can save a lot of files that are readily available for users.
3. Versatility: it can perform various tasks simultaneously.
4. Accuracy: it has accuracy when executing tasks
5. Reliability: it is reliable because it does not get tired easily like humans.
Some of the weakness of a computer system are the following:
1. Lack of Intelligence Quotient: that is, it can functions on its own except based pre-installed program
2. Lack of decision making: A computer system requires a human operator before it functions.
3. Lack of Emotional Quotient: the computer system is devoid of feelings
What responds to both visual appeal and functional needs? (1 point) A.) applied art B.) performance art C.) fine art D.) visual art
Answer:
A.) artes aplicadas
Explanation:
ull be my american girl american girlr
Answer:
Wuuut
Explanation:
you crazy
An input peripheral
a. interacts with or sends data to the computer
b. provides output to the user from the computer
c. receives data from the computer and sends to the printer
d. stores data processed by the computer
Answer:
c
Explanation:
Match the component to its function. resistor inductor capacitor battery transistor This component stores a temporary charge. arrowRight This component stores electric energy in the form of a magnetic field. arrowRight This component prevents components from overheating. arrowRight This component produces electricity by converting chemical energy into electric energy. arrowRight The voltage applied to the base can control the current that flows across the emitter and collector. arrowRight
Answer:
1. Capacitor.
2. Inductor.
3. Resistor.
4. Battery.
5. Transistor.
Explanation:
1. Capacitor: this component stores a temporary charge.
2. Inductor: this component stores electric energy in the form of a magnetic field.
3. Resistor: this component prevents components from overheating.
4. Battery: this component produces electricity by converting chemical energy into electric energy.
5. Transistor: the voltage applied to the base can control the current that flows across the emitter and collector.
Answer:
He's right you know the person above me.
Explanation:
what mode do you use to extract split or reshape your red Builder brush
Answer:
what the hell is a red builder brush???
Carmina works at a fast-food restaurant. During the slow afternoon hours, Carmina always find projects to keep her busy, like washing all the trays or deep-cleaning the drive-thru area. What workplace habit does Carmina show by doing this?
Answer:
This shows that Carmina knows how to manage her time, also called time management, and she took the initiative to do the jobs, even though she didn't have to.
development of smart phone
Answer:
The first smartphone, created by IBM, was invented in 1992 and released for purchase in 1994. It was called the Simon Personal Communicator (SPC). While not very compact and sleek, the device still featured several elements that became staples to every smartphone that followed.
Identify the problems that computer program bugs can cause. Check all that apply.
Program bugs can cause error messages.
Program bugs can cause computer viruses.
Program bugs can cause programs to halt while they are running.
Program bugs can cause software and hardware to miscommunicate.
Program bugs can provide unplanned results.
Answer:
acde not b though
Explanation:
1.) B.
2.)A.
3.)C.
Ignore this writing i coulndnt submit the answer with out it
Which of these words is used to begin a conditional statement?
when
input
if
until
Answer:
'if'
Explanation:
The if word is used in an if-statement (a type of conditional statement) that allows the computer to do certain computations based on what the conditional statement evaluates to.
Hope this helps :)
Is there a bridge connecting WAN to LAN?
Explanation:
→No,•A bridge connect two LANs that are using same protocol (ethernet or token ring) and same network like 192.168. 1.0/24 (very important). Similar devices used for this purpose are hubs, and switches. For WAN and LAN connectivity, you need router...
It's a correct answer√√
Kindly mark as brainliest answer
21
Drag each tile to the correct box.
Match the top-level domains to the website descriptions
.com
.gov
.mil
.org
a website that sells computer hardware to large organizations
a website operated by the state of California
>
the website of the US Coast Guard
the website of a group of individuals who work toward protecting gray wolves
>
Reset
Next
Answer:
A website that sells computer hardware to large organizations --> .com
A website operated by the state of California --> .gov
The website of the US Coast Guard --> .mil
The website of a group of individuals who work toward protecting gray wolves --> .org
Explanation: I took the test and got it right ;)
A website that sells computer hardware to large organizations --> .com. A website operated by the state of California --> .gov. The website of the US Coast Guard --> .mil. The website of a group of individuals who work toward protecting gray wolves --> .org
What is the government website?The government website is the official US government website and is used for a domain name that is based on the word government. It is administrated by the cyber security and infrastructure security agency.
It is sponsored top level domain and only the US government is federal govt uses such websites.a website that sells computer hardware to large organizations a website operated by the state of California.
The website of the US Coast Guard the website of a group of individuals who work toward protecting gray wolves. a website that sells computer hardware to large organizations a website operated by the state of California.
Therefore, A website that sells computer hardware to large organizations --> .com. A website operated by the state of California --> .gov. The website of the US Coast Guard --> .mil. The website of a group of individuals who work toward protecting gray wolves --> .org
Find out more information about the driver's license on:
brainly.com/question/13112961
#SPJ2
Dominic's mom asked him to create a chart or graph to compare the cost of candy bars over a five-month time period. Which chart or graph should he use?
Bar graph
Cloud chart
Line graph
Pie chart
its line graph
I took the test Explanation:
The chart or graph should he use is the Bar graph. Thus, option A is correct.
What is bar graph?As we can present information similarly in the bar graph and in column charts, but if you want to create a chart with the horizontal bar then you must use the Bar graph. In an Excel sheet, you can easily draw a bar graph and can format the bar graph into a 2-d bar and 3-d bar chart. Because we use this chart type to visually compare values across a few categories when the charts show duration or when the category text is long.
A column chart has been used to compare values across a few categories. You can present values in columns and into vertical bars. A line graph chart is used to show trends over months, years, and decades, etc. Pie Chart is used to show a proportion of a whole. You can use the Pie chart when the total of your numbers is 100%.
Therefore, The chart or graph should he use is the Bar graph. Thus, option A is correct.
Learn more about graph on:
https://brainly.com/question/21981889
#SPJ3
Write a program that for a string that contains multiple sentences, should try that string
so that after each point a new line should start with a new sentence
Answer:
Used code:-python
Explanation:
def change_char(str1):
char = str1[0]
str1 = str1.replace(char, '$')
str1 = char + str1[1:]
return str1
print(change_char('restart'))