Answers

Answer 1
Micah and adayln hope this helps u

Related Questions

Write a program that reads an integer, a list of words, and a character. The integer signifies how many words are in the list. The output of the program is every word in the list that contains the character at least once. Assume at least one word in the list will contain the given character.Ex: If the input is:4 hello zoo sleep drizzle zthen the output is:zoodrizzle

Answers

Answer:

try this.

Explanation:

#include <iostream>

#include <vector>

using namespace std;

int main() {

       int n;

       cin>>n;

       

       vector<string> v;

       string s;

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

               cin>>s;

               v.push_back(s);

       }

       

       char ch;

       cin>>ch;

       for(int i = 0;i<v.size();i++){

               for(int j = 0;j<v[i].length();j++){

                       if(v[i][j]==ch){

                               cout<<v[i]<<endl;

                               break;

                       }

               }

       }

       return 0;

}

Working with do-while loop
Bring the program dowhile.cpp from the Lab 5 folder.
The code is shown below:
______________________________________________________________________________
// This program displays a hot beverage menu and prompts the user to
// make a selection. A switch statement determines which item the user
// has chosen. A do-while loop repeats until the user selects item E
// from the menu.
// PLACE YOUR NAME HERE
#include
#include
using namespace std;
int main()
{
// Fill in the code to define an integer variable called number,
// a floating point variable called cost,
// and a character variable called beverage
bool validBeverage;
cout << fixed << showpoint << setprecision(2);
do
{
cout << endl << endl;
cout << "Hot Beverage Menu" << endl << endl;
cout << "A: Coffee $1.00" << endl;
cout << "B: Tea $ .75" << endl;
cout << "C: Hot Chocolate $1.25" << endl;
cout << "D: Cappuccino $2.50" << endl < cout << "Enter the beverage A,B,C, or D you desire" << endl;
cout << "Enter E to exit the program" << endl << endl;
// Fill in the code to read in beverage
switch(beverage)
{
case 'a':
case 'A':
case 'b':
case 'B':
case 'c':
case 'C':
case 'd':
case 'D': validBeverage = true;
break;
default: validBeverage = false;
}
if (validBeverage == true)
{
cout << "How many cups would you like?" << endl;
// Fill in the code to read in number
}
// Fill in the code to begin a switch statement
// that is controlled by beverage
{
case 'a':
case 'A': cost = number * 1.0;
cout << "The total cost is $ " << cost << endl;
break;
// Fill in the code to give the case for tea ( $0.75 a cup)
//Fill in the code to give the case for hot chocolate($1.25 a cup)
// Fill in the code to give the case for cappuccino ($2.50 a cup)
case 'e':
case 'E': cout << " Please come again" << endl;
break;
default:cout << // Fill in the code to write a message
// indicating an invalid selection.
cout << " Try again please" << endl;
}
} // Fill in the code to finish the do-while statement with the
// condition that beverage does not equal (E or e).
// Fill in the appropriate return statement
}

Answers

Answer:

it throws an error with the includes.

and some undeclared variables.

Explanation:

please fix that.

Consolidated Supplies is a medium-sized distributor of restaurant supplies that operates in Canada and several northern U.S. states. They have 12 large warehouses spread across both countries to service their many customers. Products arrive from the manufacturers and are stored in the warehouses until they are picked and put on a truck for delivery to their customers. The networking equipment in their warehouses is old and is starting to give them problems; these problems are expected to increase as the equipment gets older. The vice president of operations, Pat McDonald, would like to replace the existing LANs and add some new wireless LAN technology into all the warehouses, but he is concerned that now may not be the right time to replace the equipment. He has read several technology forecasts that suggest there will be dramatic improvements in networking speeds over the next few years, especially in wireless technologies. He has asked you for advice about upgrading the equipment.
Should Consolidated Supplies replace all the networking equipment in all the warehouses now, should it wait until newer networking technologies are available, or should it upgrade some of the warehouses this year, some next year, and some the year after, so that some warehouses will benefit from the expected future improvements in networking technologies?

Answers

Answer:

Consolidated Supplies

Consolidated Supplies should upgrade some of the warehouses this year, some next year, and others the year after, so that some warehouses will benefit from the expected future improvements in networking technologies.

Explanation:

Gradual technology upgrade should be the way forward for Consolidated Supplies.  Waiting until newer networking technologies are available is not an option.  Total replacement of all the networking equipment in all the warehouses is not an option, as technology equipment becomes obsolete in no time.  Overall, Consolidated Supplies should never forget the numerous benefits from technology upgrade, including reduction of downtime, increased productivity, and improved customer services and satisfaction.

Uhh... What is happening?.. What...

Answers

Answer:

the Redstone underneath is activating the piston

Answer:

lever under each piston

You work at a computer repair store. A customer is having trouble with their hard drives. The computer is not recognizing all the drives in the machine. In this lab, your task is to diagnose and correct the problem. In the computer, the top hard drive contains the operating system files. Troubleshoot the hard drives to see why they are not all being recognized. Verify that all drives are detected in the BIOS.

Answers

Answer:

Explanation:

The first thing that you would need to do is verify that the drives are being detected within the BIOS. You need to first enter the BIOS by clicking the correct keyboard key on startup. If the BIOS detects the drives correctly, then the most likely problem is that the drive's letter is not assigned. To fix this you need to search for Disk Management within the OS, find the drive, and assign a letter to it. If this does not solve the issue then the cable or drive itself may be damaged and may need replacing.

Explaining Invalid Data
what happens if date is entered in a feld without meeting the validation mal

Answers

Answer:

An error appears and the record cannot be saved

Explanation:

edge 2021

Ill give alot of points if you answer: How do I get a 100 dollar ps4

Answers

uh how do you get a little blue box in a sandwich
You can try to set up a go found me or if you post a Venmo or cash thing in your profile people might give you money. Good luck!

desktop and personal computer are also known as​

Answers

they are also known as general computers

Suppose we wanted to make change for purchases and wanted to use the least number of coins possible. Here is a greedy algorithm: for the change amount due, we always use the largest-face-value coin first. Assume we have only coins of quarters ($.25), twenties ($.20), and pennies ($.01). Assume the change is $.40: a. what would be the coins and their numbers obtained by the greedy algorithm above

Answers

Answer:

Explanation:

The following code is a Python function that takes in the amount of change. Then it uses division and the modulo operator to calculate the number of coins that make up the changes, using the greatest coin values first.

import math

def amountOfCoins(change):

   print("Change: " + str(change))

   quarters = math.floor(change / 0.25)

   change = change % 0.25

   dimes = math.floor(change / 0.20)

   change = change % 0.20

   pennies = math.floor(change / 0.01)

   print("Quarters: " + str(quarters) + "\nDimes: " + str(dimes) + "\nPennies: " + str(pennies))

why do we install doorbells in our house

Answers

Explanation:

It's placed near the door. When a visitor presses the button, the bell rings inside alerting you that someone is at the door.

So when people are at the door they can use the doorbell to inform the people in the house that they are outside.

The technology dealing with robots is called

Answers

Robotics

Robotics is a field of engineering that deal with design and application of robots and the use of computer for their manipulation and processing. ... Robotics requires the application of computer integrated manufacturing, mechanical engineering, electrical engineering, biological mechanics, software engineering.

free pass if you want it.

Answers

Answer:

yuh

Explanation:

Answer:

thank youuuu!

Explanation:

have a great day!!

(01)²

what is 2 in this number ​

Answers

Answer and Explanation:

It's an exponent (2 is squared I believe)

When you have an exponent, multiply the big number by the exponent

Ex: [tex]10^2[/tex]= 10x2=20

Ex: [tex]10^3\\[/tex]= 10x3=30

PLEASE HELP ME ASAP!!!!

Answers

First party insurance: Loss due to laptop theft, loss due to interruption in business activities due to website failure

Third party insurance: cost of lawsuits filed against the policyholder, fees of a special programmer investigating a cyber fraud, expenses of providing notifications of the cyber attack to clients and employees

PLEASE HELP ME ASAP

Answers

The answer is B; network security. If there is an issue with the software corruption, there is an issue with the security and validity of the website. A website encryption could prevent this from happening or even a simple virus cleaner.

Random Star
Write a method named randomStar that takes two parameters, a Random object r and an integer num. The method should keep printing lines of * characters, where each line has between 5 and 19 * characters inclusive, until it prints a line with greater than or equal to num characters. num is guaranteed to be between 5 and 19. For example, the method call randomStar(14) will print:
import java.util.*;
public class RandomStar {
public static void main(String[] args) {
Random r = new Random(2063064142); // ignore the 2063064142
randomStar(r, 12);
System.out.println();
randomStar(r, 19);
}
public static void randomStar(Random r, int num) {
}
}

Answers

Answer:

Explanation:

The following code is written in Java. The function takes in the random object and creates a random number where it generates a random number and prints out the * characters, if the random number and the input num are the same it prints out both values and ends the function.

import java.util.Random;

class Brainly {

   public static void main(String[] args) {

       Random r = new Random();

       randomStar(r, 12);

       System.out.println();

       randomStar(r, 19);

   }

   public static void randomStar(Random r, int num) {

       while (true) {

           int randomNum = r.nextInt(19) + 5;

           if (randomNum != num) {

               for (int x = 0; x < randomNum; x++) {

                   System.out.print("*");

               }

               System.out.print("\n");

           } else {

               for (int x = 0; x < randomNum; x++) {

                   System.out.print("*");

               }

               System.out.print("\n");

               System.out.println("Random Number: " + randomNum);

               System.out.println("Input Number: " + num);

               break;

           }

       }

   }

}

Which of the following application delivery methods requires Internet access?

Answers

Answer:Cloud hosted

Explanation:

A "Pythagorean Triple" is a set of integers which will make the sides of a right triangle when used in the calculation of Pythagoras’ Theorem. For example, "3, 4, 5" is a Pythagorean Triple. Write a short "C" function that takes three decimal integers and determines if they are a "Pythagorean Triple". The function should return a boolean which is true if the three numbers fit the pattern, and false otherwise. DO NOT write a "main()" method in this code! [15 pts.]

Answers

Answer:

The function in C is as follows:

bool checkPythagoras(int a, int b, int c ){

  bool chk = false;

  if(a*a == b*b + c*c || b*b == a*a + c*c || c*c == b*b + a*a){

      chk = true;

  }

  return chk;

}

Explanation:

This defines the function. It receives three integer parameters a, b and c

bool checkPythagoras(int a, int b, int c ){

This initializes the return value to false

  bool chk = false;

This checks if the three integers are Pythagorean Triple

  if(a*a == b*b + c*c || b*b == a*a + c*c || c*c == b*b + a*a){

If yes, the return value is updated to true

      chk = true;

  }

This returns true or false

  return chk;

}

The Internet is written in a "language" called
O Usenet
O package switching
O HTTP
O ARPANET​

Answers

Answer:

HTTP

Explanation:

I hope it helps u.

Mark Me as brainlist answer

HTTP

Have a great day! I hope this helped!

I WILL GIVE MOST BRAINLY



Which factor most contributed to the rise of globalization beginning in the 20th century?
A.Consumers preferring to buy local goods
B.Governments breaking up corporate monopolies
C.Economist promoting barriers to trade
D.Internet access becoming widespread


Plz help I need this ASAP

Answers

i say C, i’m srry if i’m wrong

The factor that contributed to the rise of globalization beginning in the 20th century is economist promoting barriers to trade. Thus, option C is correct.

What is globalization?

Globalization has made communication between the countries easier to share information openly. This has also helped to increase the speed of transportation of products. Globalization brings nations together, breaking down cultural barriers and turning the world into a global village.

Technology not only changes the way we produce and connect, but also enables more humans to create and test new objects and ideas, reducing the costs and risks of innovation. Product development, even in developing countries.

Globalization has positive effects such as increase in national income, access to global capital, emergence of new business opportunities, increase in loans and investments, transfer of technology, development of energy and communication infrastructures. Improvement of labor quality and working conditions

Thus, option C is correct.

Learn more about Globalization on:

https://brainly.com/question/15283031

#SPJ7

Write a Java program named Problem 3 that prompts the user to enter two integers, a start value and end value ( you may assume that the start value is less than the end value). As output, the program is to display the odd values from the start value to the end value. For example, if the user enters 2 and 14, the output would be 3, 5, 7, 9, 11, 13 and if the user enters 14 and 3, the output would be 3, 5, 7, 9, 11, 13.

Answers

Answer:

hope this helps

Explanation:

import java.util.Scanner;

public class Problem3 {

   public static void main(String[] args) {

       Scanner in = new Scanner(System.in);

       System.out.print("Enter start value: ");

       int start = in.nextInt();

       System.out.print("Enter end value: ");

       int end = in.nextInt();

       if (start > end) {

           int temp = start;

           start = end;

           end = temp;

       }

       for (int i = start; i <= end; i++) {

           if (i % 2 == 1) {

               System.out.print(i);

               if (i == end || i + 1 == end) {

                   System.out.println();

               } else {

                   System.out.print(", ");

               }

           }

       }

   }

}


4. Why do animals move from one place to another?​

Answers

Answer:

Animal move from one place to another in search of food and protect themselves from their enemies.They also move to escape from the harsh climate. Animal move from one place to another in search of food,water and shelter.

Answer:

Animals move one place to another because he search food and shelter

c Write a program that simulates a magic square using 3 one dimensional parallel arrays of integer type. Each one the arrays corresponds to a row of the magic square. The program asks the user to enter the values of the magic square row by row and informs the user if the grid is a magic square or not. flowchart

Answers

Answer:

hope this helps and do consider giving a brainliest to the ans if it helped.

Explanation:

//program to check if the entered grid is magic square or not

/**c++ standard libraries

*/

#include<bits/stdc++.h>

using namespace std;

/**function to check whether the entered grid is magic square or not

*/

int isMagicSquare(int arr[3][3]){

  int i,j,sum=0,sum1=0,rsum,csum;

  for(i=0;i<3;i++){

      sum+=arr[i][i];

      sum1+=arr[i][2-i];

  }

  if(sum!=sum1){

      return 0;

  }

 

  for(i=0;i<3;i++){

      rsum=0;

      csum=0;

      for(j=0;j<3;j++){

          rsum+=arr[i][j];

          csum+=arr[j][i];

      }

      if(sum!=rsum){

          return 0;

      }

      if(sum!=csum){

          return 0;

      }

  }

  return 1;

}

/** main function to get user entries and

* call function

* and print output

*/

int main(){

  int i,j,arr[3][3]={0};

  for(i=0;i<3;i++){

      for(j=0;j<3;j++){

          cout<<"Enter the number for row "<<i<<" and column "<<j<<" : ";

          cin>>arr[i][j];

      }

  }

  int ret = isMagicSquare(arr);

  if(ret==1){

      cout<<"This is a Lo Shu magic square"<<endl;

  }

  else{

      cout<<"This is not a Lo Shu magic square"<<endl;

  }

  return 0;

}

Before you ever buy your first stock or bond, it's important to understand what type of investor you are. This depends on a number of factors, including your investment objectives, your time horizon, your tolerance for risk, your personal investment experience, and your overall financial situation. There are three general categories of investors: The conservative investor values protecting principal over seeking capital appreciation. This investor is comfortable accepting lower returns for a higher degree of stability and/or liquidity. The conservative investor wants to minimize risk and loss of principal. The moderate investor values reducing risks and enhancing returns equally. This investor is willing to accept modest risks to seek higher long-term returns. A moderate investor may endure short-term loss of principal and a lower degree of liquidity in exchange for long-term capital appreciation. The aggressive investor values maximizing returns and is willing to accept substantial risk. This investor believes that maximizing long-term returns is more important than protecting principal in the short term and understands that this may mean enduring volatility and significant losses. Liquidity generally isn't a consideration for the aggressive investor. Which of these categories best describes you?

Answers

Answer:

Moderate investor

Explanation:

The moderate investors are most popularly known as 'Balanced investors'. They accepts the risk to principal and they adopt the balanced approach. They mainly uses a mixture of bonds and stocks.

They values the reducing risks and then enhancing the returns equally. They accepts modest risks so as to ensure higher long term returns.

What is an access review?

Answers

Answer:

System Access Review (previously known as Identity Management) is the organizational process for ensuring that individuals have the appropriate access to technology resources.

difference between academic library and school Library

Answers

I think Academic is like books about subjects so educational and school library are like fun books enjoyable

Write a program that replaces words in a sentence. The input begins with an integer indicating the number of word replacement pairs (original and replacement) that follow. The next line of input begins with an integer indicating the number of words in the sentence that follows. Any word on the original list is replaced. Assume that the list will always contain less than 20 word replacement pairs. Ex: If the input is:

Answers

Answer:

try this

Explanation:

if name == '__main__':

words = input().split()

data = input()

for i in range(0, len(words), 2):

if words[i] in data:

data = data.replace(words[i], words[i + 1])

print(data)

What is the purpose of exploring data?


a.
To generate labels for your data.


b.
To gain a better understanding of your data.


c.
To gather your data into one repository.


d.
To digitize your data.​

Answers

Answer:

b. To gain a better understanding of your data.

Explanation:

A database management system (DBMS) can be defined as a collection of software applications that typically enables computer users to create, store, modify, retrieve and manage data or informations in a database. Generally, it allows computer users to efficiently retrieve and manage their data with an appropriate level of security.

A data dictionary can be defined as a centralized collection of information on a specific data such as attributes, names, fields and definitions that are being used in a computer database system.

In a data dictionary, data elements are combined into records, which are meaningful combinations of data elements that are included in data flows or retained in data stores.

This ultimately implies that, a data dictionary found in a computer database system typically contains the records about all the data elements (objects) such as data relationships with other elements, ownership, type, size, primary keys etc. This records are stored and communicated to other data when required or needed.

Data exploration (mining) can be defined as a process which typically involves extracting and analyzing data contained in large databases through the use of specialized software to generate new information.

The main purpose of data exploration is to gain a better understanding of your data and get to insights faster. Thus, data exploration helps to cut down a large data set into a manageable size through the use of statistical or data visualization tools, thereby, gaining a better understanding of the nature of the data.

Answer:

b. To gain a better understanding of your data.

Explanation:

explore and visualize data to uncover insights from the start or identify areas or patterns to dig into more.

When an exception is thrown by code in the try block, the JVM begins searching the try statement for a catch clause that can handle it and passes control of the program to ___. Group of answer choices Each catch clause that can handle the exception The first catch clause that can handle the exception If there are two or more catch clauses that can handle the exception, the program halts The last catch clause that can handle the exception

Answers

Answer:

The answer is "the first catch clause that can handle the exception".

Explanation:

In the catch block handles the exception which is indicated by its argument, exception type, declares the type of exception, which can handle the name of a class which inherits from the "throw class", that's why As code in the try block throws the exception, the JVM looks for a catch clause that really can handle this in the try statement or transfers control of a program to first catch clause which can handle the exception.

Which option ensures that page break is automatically inserted ahead of a specific paragraph or heading?

Answers

Answer:

the Keep with next option in the Paragraph dialog box. the Keep lines together option in the Paragraph dialog box.

Other Questions
the metal used in making filaments of present day bulb is a friend is buying flowers for mothers day. because it is a friends 38th birthday, your friend wants to have 38 of her favorite flowers. her favorite flowers are daisies at $1.50 each and tulips at $2.50 each. IF the total bill is $67 how many tulips were bought? a. Located on either side of the pharynxb. The specialized cells of the immune system.c. Part of the lymphatic systemd. Molecules that the immune system recognizes as a foreign to the bodye. Filters pathogens and worn out red blood cells from the blood.f. It stores and matures lymphocytes.g. Mature in the thymus1. Tonsils2. Antigen3. Spleen4. Thymus5. Lymphocytes6. Lymp Vessels7. T-cells What is the meaning of the word fearless?a without fearb with fearc full of fear will you have enough room for a dance floor that is 8 m x 8 m please explain why or why notasap Read this passage:She was a warrior with the soft armor of a seamstress; awarrior with the powerful weapon of the Sunday schoolteacher; a warrior wearing a warrior's helmet made of acrown of perfectly coiled braids; a soldier whose tank inthis battle was a city bus; an improbable warrior leading anunlikely army of waitresses and street sweepers andshopkeepers and auto mechanics; a warrior protected inthis army by the piercing weapons of love and nonviolence,more powerful than any weapons or any army before orsince.- Jennifer Granholm, "Remembering Rosa Parks"Which element in this passage from "Remembering Rosa Parks" creates themost interesting and powerful rhythm for the audience?A. The idea of weapons of loveB. The repetition of the word warriorC. The image of a military tankD. The reference to waitresses Alan bought 16 cupcakes forhis class. Each cupcake costs$1.49. How much did hespend on cupcakes?Help To find the quotient of 726.02 and 1,000, move the decimal point in 762.02___Places to the ____Choices for blank 1.A. 2B. 3C. 4D. 5Choices for blank 2.A. LeftB. Right NO LINKS!! 5. A cabin rental costs $100 deposit plus $75 per day. Find the cost of renting a cabin for themonth of June. Read the passage.from The Story of WashingtonBut how admirably does the character of this illustrious man bear the closest scrutiny! The more one grows familiar with it the more does (George)Washington seem to deserve his unique place in history,(from The Story of Washington by Elizabeth Eggleston Seelye)Select three words that have the same connotation as illustrious.1. eminent2. exalted3. ignominious4. infamous5. notorious6. renowned Jack wants to find out which can of pineapples is the best buy. He has a choice of fourdifferent-sized cans. Which can has the lowest unit price per ounce?A. 8 ounces for $1.44B. 18 ounces for $2.88C. 10 ounces for $1.62D. 6 ounces for $1.14HURRY PLEASE Sofia is researching the effects of pesticides on honeybees.Which source is most likely to provide reliable, credible information?a pesticide companys website page detailing the benefits of their productsa scholarly journal from 2020 that examines honeybee deaths in Californias Central Valleyan interview with a farmer who argues that his use of pesticides does not affect his beehivesa personal blog from someone who has used the product describing their experience 50 points!!Solve for x and y given the 2 triangles are SIMILAR pls help I will mark brainliest ( write a sentence using the word tangible)PLs don't copy the sentence from g00gle I need help pls Do you follow a specific religion or belief system? How does what you believe match up with the beliefs of your present society? What physical or emotional effects might people who do not share the beliefs of society suffer? How do you think the rules and customs of a country can reveal the theme of this module?Respond to the prompt with no fewer than 10 sentences. Which of the following uses hyphens correctly?A. The two tone cars at the auto show have zero-chance of winning best-in-show.B. The two-tone cars at the auto show have zero chance of winning best-in-show.C. The two-tone cars at the auto show have zero-chance of winning best in show.D. The two-tone cars at the auto show have zero chance of winning best in show. Find the length of the midsegment of the trapezoid. Can you plz help me!dddddddd Why would progressives value the 16th, 17th,18th and 19th amendments? What is the slope of the following equation?y = 2x -3