How do you guys feel about McCree’s new look in Overwatch 2? I personally like it but some people have a distaste towards it. I personally think it’s a step in the right direction and improves on how he used to look.

How Do You Guys Feel About McCrees New Look In Overwatch 2? I Personally Like It But Some People Have

Answers

Answer 1

Answer:

Agreed.

Explanation:

I also laugh that you put this on Brainly.

Answer 2

I agree

Explanation:

It's lit, very lit


Related Questions

when computer network are joined together they form a bigger network called the​

Answers

Answer:

A WAN can be one large network or can consist of two or more lans connected together. The Internet is the world's largest wan.

Explanation:

A hard drive cannot be partitioned until the device
is set.

Answers

Yeah that true I asked my grandpa

what is the processing speed for the second generation of computers​

Answers

Answer:

10mbps

Explanation:

that's what the internet says

Which code segment results in "true" being returned if a number is odd? Replace "MISSING CONDITION" with the correct code segment.

a) num % 2 == 0;
b) num % 2 ==1;
c) num % 1 == 0;
d) num % 0 == 2;

Answers

Answer:

Which code segment results in "true" being returned if a number is odd? Replace "MISSING CONDITION" with the correct code segment.

Explanation:

num % 2 ==1;

Hills, mountains and river are example of ____________ features​

Answers

Answer:

physical

Explanation:

relief----------------------FOLLOW ME

a body performing Shm has a velacity of 12m/s when the displacement is 100mm the displacement
measured from the mid point calculate the frequency and amplitude of motion what is the acceleration when displacement is 75mm​

Answers

Answer:

vjcyfuy

Explanation:

yjvjy

Can software work without Hardware? Why?

Answers

Answer:

No

Explanation:

Software requires hardware to run. Think about a computer, you can't have windows without having the computer. Software is programmed to run on hardware.

A local company is expanding its range from one state to fifteen states. They will need an advanced method of online communication and someone to design an advanced and thorough database to store a lot of information. Who should they hire to assist with both these goals?

a Database Architect and a Computer System Analyst who focuses in interactive media
a Computer Hardware Engineer and a Software Developer who focuses in interactive media
a Software Developer and a Web Developer who focuses in programming and software development
a Web Administrator and a Computer System Analyst who focuses in information support and services

Answers

Answer:

the answer is C,a a Software Developer and a Web Developer who focuses in programming and software

Brainlist me if im right

Answer:

C is correct

Explanation:

Help a brother out


Write a java program with these specifications.





playRps – This method plays 24 rounds of rps and returns the total points earned. For each of the 24 rounds, player1’s hand
gesture will be based on calling the nextInt method of the given Random object. If the next integer is even, player1 will play
rock. If it is odd, player1 will play paper. Player1 never plays scissors. Player2 will play rock in the first round, paper in the
second round, scissors in the third round, and repeat the cycle starting with rock again in the fourth round. The method will sum
the return values for the 24 calls to rps and return the total. Note, since an invalid input is never passed in to an rps call using
playRps, your return value should always be a non-negative number.

Answers

Answer:

import java.util.*;  

class Main {

 private enum RPS { Rock, Paper, Scissors };

 private static RPS[] options = { RPS.Rock, RPS.Paper, RPS.Scissors };

 private static String[] names = {"Rock", "Paper", "Scissors"};

 // Return 1 if player 1 beats player 2, 0 otherwise

 static public int rps( RPS p1, RPS p2 ) {

   if (p1 == RPS.Rock && p2 == RPS.Scissors) return 1;

   if (p1 == RPS.Scissors && p2 == RPS.Paper) return 1;

   if (p1 == RPS.Paper && p2 == RPS.Rock) return 1;

   return 0;

 }

 static public int playRps() {

   Random rnd = new Random();      

   int totalPoints = 0;

   

   for(int round = 0; round < 24; round++) {

     int randomNumber = rnd.nextInt(2);  

     RPS player1 = options[randomNumber];      

     RPS player2 = options[round%3];

     String name1 = names[randomNumber];

     String name2 = names[round%3];

     int score = rps(player1, player2);

     if (player1 == player2) {

       System.out.printf("%d. Both players %s. Draw.\n",  round+1, name1);

     } else if (score == 0) {

       System.out.printf("%d. %s does not beat %s, player 1 loses.\n",  round+1, name1, name2);

     } else {

       System.out.printf("%d. %s beats %s, player 1 wins.\n", round+1, name1, name2);

     }      

     totalPoints += score;

   }

   return totalPoints;

 }

 public static void main(String[] args) {

   System.out.println("Playing RPS.");

   int total = playRps();

   System.out.printf("Player 1 earned %d points.\n", total);

 }

}

Write a program that reads a file called 'test.txt' and prints out the contents on the screen after removing all spaces and newlines. Punctuations will be preserved. For example, if 'test.txt' contains: This is a test file, for chapter 06. This a new line in the file! Then, your program's output will show: Thisisatestfile,forchapter06.Thisanewlineinthefile! Hint: Consider using the 'strip()' and 'replace()' functions.

Answers

Answer:

I don't know  you should figure that out good luck

Explanation:

good luck

What two devices in a computer are black boxes

Answers

Answer:

the hdmi and hardrive

Explanation:

Which code will allow Jean to print I like to code! on the screen?

Print ("I like to code!")
Print (I like to code!)
Print ("I like to code!)
Print = I like to code!

Answers

Answer:

4

Explanation:

Print=I like to code! which it is good

Answer:

Print ("I like to code!")

Explanation:

If this is python, then this is the correct answer, you should specify which programming language this is in when you post it.

an algorithm to calculate average of numbers​

Answers

Answer:

Algorithm to calculate the average of numbers is

Start sum = 0, i = 1, average, count = 0  if i / 2 == 0 then go to step 4, else go to on step 5  sum = sum + i, count = count + 1  i = i + 1 if i <= 50 then go to on step 3, else go to on step 7 Display “sum” average = sum/count Display “average” Stop

Explanation:

Algorithm to calculate the average of numbers is

Start sum = 0, i = 1, average, count = 0  if i / 2 == 0 then go to step 4, else go to on step 5  sum = sum + i, count = count + 1  i = i + 1 if i <= 50 then go to on step 3, else go to on step 7 Display “sum” average = sum/count Display “average” Stop

1. What is friend function and friend class? Class “stu-info” stores all the details related to students like (name, reg, section , marks of 5 subjects). Class “show_details” will act like a friend of class “stu-info” and perform following operations: basic_details() and result(). These functions will work on the private data members of “stu-info”.

Answers

Answer:

banksjakjajbsjsishbsjso sjjsnsjsjsksk hsjsnks jsjsjsbsh jebsjjsjsbdhdjej

Explanation:

nsnkwjejev s hejej eje eiebjdbdibe sjeb

8.11 LAB: Count characters - functions Write a program whose input is a character and a string, and whose output indicates the number of times the character appears in the string. Ex: If the input is: n Monday, the output is: 1 Ex: If the input is: z Today is Monday, the output is: 0 Ex: If the input is: n It's a sunny day, the output is: 2 Case matters. n is different than N. Ex: If the input is: n Nobody, the output is: 0 Your program must define and call the following function that returns the number of times the input character appears in the input string. int CountCharacters(char userChar, const string

Answers

Answer:

#include<iostream>

using namespace std;

int CountCharacters(char userChar, const string inputstr){

   int k = 0;

   int iter = 0;

   for (iter = 0; iter < inputstr.size(); iter++){

       if (inputstr[iter] ==  userChar){

           ++k;        }}

   return k;}

int main(){

   string str;

   char userChar[1];

   cout<<"Char: ";    cin>>userChar;

   cin.ignore();

   cout<<"String: ";   getline(cin, str);

   cout<<CountCharacters(userChar[0],str);

   return 0;}

Explanation:

Written in C++:

The function is defined here:

int CountCharacters(char userChar, const string inputstr){

This initializes a count variable k to 0

   int k = 0;

This initializes an iterating variable iter to 0

   int iter = 0;

This iterates through the characters of the string being passed to the function

   for (iter = 0; iter < inputstr.size(); iter++){

This checks for matching characters

       if (inputstr[iter] ==  userChar){

If found,  k is incremented by 1

           ++k;        }}

This returns the total count

   return k;}

The main begins here

int main(){

This declares a string variable

   string str;

This declares a character variable

   char userChar[1];

This gets input for the character variable

   cout<<"Char: ";    cin>>userChar;

This lets the user get another input

   cin.ignore();

This gets input for the string variable

   cout<<"String: ";   getline(cin, str);

This calls the function and return the count of character in the string

   cout<<CountCharacters(userChar[0],str);

The Payroll Department keeps a list of employee information for each pay period in a text file. The format of each line of the file is the following: Write a program that inputs a filename from the user and prints to the terminal a report of the wages paid to the employees for the given period. The report should be in tabular format with the appropriate header.

Answers

Answer:

import pandas as pd

filename = input("Enter file name with the extension included: ")

data = {}

with open("filename", "r") as file:

   content = file.readlines()

   for line in content:

       line_list = line.strip().split(" ")

       data[line_list[0]] = line_list[1] * line_list[2]

       del line_list

report = pd.DataFrame(list(data.items()), columns = ["lastname", "wages paid"])

print(report)

Explanation:

The python module prompts the user for the file name and opens the text file to extract the employee data with the python open function. It iterates over the file content and saves the last name and the wages paid to the employees ( the hours worked multiplied by the hourly rate) in the dictionary "data".

The dictionary is converted to a dataframe with the Pandas python package and displays the data in tabular format on the screen.

Following are the required code to make a report in tabular format by using the appropriate headers:

Python code:

file_name = input('Enter input filename: ')#defining a variable file_name that inputs file value

try:#defining try block that uses thr open method to open file

  file = open(file_name, 'r')#defining file variable that opens file

except:#defining exception block when file not found

  print('Error opening file ' , file_name)#print message

  exit()#calling exit method to close program

print('{:<12s} {:>10s} {:>10s}'.format('Name', 'Hours', 'Total Pay'))#using print method to print headers

for l in file.readlines():#defining loop that holds file value and calculate the value

  name, hour, wages = l.split()#defining variable that holds the value of file

  hour = int(hour)#holiding hour value

  wages = float(wages)#holiding wages value

  total = hour * wages#defining variable total variable that calculates the total value

  print('{:<12s} {:>10d} {:>10.2f}'.format(name, hour, total))#print calculated value with  message

file.close()#close file

Required file (data.txt) with the value:

Database 34 99

base 30 90

case 34 99

Program Explanation:

Defining the variable "file_name" that uses the input method to input the file name with an extension.Using the exception handling to check the file, with using the try block and except block.In the try block check file, and in except block print message with the exit method when file not found.In the next line, a print method has used that prints the header and uses a loop to read the file value.Inside the loop, a header variable is used that splits and holds the file value, calculates the value, prints its value with the message, and closes the file.

Output:

Please find the attached file.

Find out more information about the Program code here:

brainly.com/question/18598123

By watching the expression Mynum=4 * mynum + c from a programming language, what can we say about this language?


This is not an imperative programming language


This is a case sensitive language


This is not a case sensitive language


We can not determine if this language is case-sensitive or case-insensitive

Answers

Answer:

We can not determine if this language is case-sensitive or case-insensitive

Explanation:

It is unclear wether Mynum and mynum are intended to be different variables or the same variable. Both would work.

Having said that, mixing case like this is always a bad design.

Answer:

we do not determine If this language is case

how do i create a a BASIC program to triple the salary of frontline workers?​

Answers

Answer:

In Latin America and the European Union, for example, 12 and 37 percent of health workers are public sector employees, respectively. Hence wage increases may reduce funding available for other critical medical supplies and equipment, particularly in developing countries with limited fiscal resources. Wage increases for one category of workers, however well justified, can also trigger demands from other workers, particularly in countries with strong trade unions. Temporary salary increases or supplementary payments also tend to become permanent, thereby creating long-term distortions and problems of fiscal sustainability. The first step, then, is to quickly assess the level and structure of health worker compensation to quantify the amount of additional wages that should be paid. Health facility staff consists of frontline medical staff (doctors, nurses, community health workers) as well as non-medical administrative and support staff. In many World Bank client countries, the total gross wages of health workers will consist of:

1.Basic salary. This is based on pay grades in civil service pay laws, or wage legislation for public health workers.

2.Overtime allowance or compensation for overtime work. This is usually in the form of a percentage of basic pay for additional hours worked beyond what is normally specified.

3.Hazard allowance or harmful work conditions allowance. These will be allowances as a percentage of pay for working conditions that are considered risky to the individual.

Other allowances.

4.Other allowances. These typically factor in seniority, additional training, or educational qualifications, as well as working in rural areas or remote locations

5.Performance pay. These are additional payments conditional on either inputs (e.g., working hours), outputs (e.g., patients treated), or outcomes (e.g., patient satisfaction).

6.Per diems or salary supplements. These are usually for attending workshops or training and can be a significant (more than 10 percent) proportion of gross wages.

Cross-national data on health worker wages is very limited. The data that the World Bank has for 10 countries in Latin America and 27 in the European Union shows that while health care workers do enjoy a premium over workers in other sectors of the economy, the premium decreases with country income levels. For countries in the upper income category, they experience a penalty compared to similar workers in lower-income countries (controlling for sex, education, and location). These averages, however, hide variations across different categories of health workers (medical workers represent between 20 and 50 percent of all health care sector workers for countries in Latin America and the European Union).

Write a program named CheckCredit that prompts users to enter a purchase price for an item.

If the value entered is greater than a credit limit of $8,000, display You have exceeded the credit limit; otherwise, display Approved.

Answers

THIS IS FOR PYTHON

price = float(input('Price: '))

if price > 8000:

   print('You have exceeded the credit limit')

else:

   print('Approved')

The credit limit on your credit card is the most you are permitted to spend.

What is Credit limit?

Your credit limit won't be disclosed to you until the card you requested for is authorized. Applying for a secured credit card, where your security deposit frequently matches your credit limit, is an exception to this rule.

Also keep in mind that your credit limit is a real, set amount that you must adhere to.

You might be given the option to opt in and go beyond your limit, but only if you pay a cost. I strongly advise against signing up since it will be like having overdraft protection on your credit card. It leads inevitably to significant debt.

Therefore, The credit limit on your credit card is the most you are permitted to spend.

To learn more about Credit limit, refer to the link:

https://brainly.com/question/31053768

#SPJ3

Build a class and a driver for use in searching your computer’s secondary storage (hard disk or flash memory) for a specific file from a set of files indicated by a starting path. Lets start by looking at a directory listing. Note that every element is either a file or a directory.
Introduction and Driver
In this assignment, your job is to write a class that searches through a file hierarchy (a tree) for a specified file. Your FindFile class will search a directory (and all subdirectories) for a target file name.
For example, in the file hierarchy pictured above, the file "lesson.css" will be found once in a directory near the root or top-level drive name (e.g. "C:\") . Your FindFile class will start at the path indicated and will search each directory and subdirectory looking for a file match. Consider the following code that could help you build your Driver.java:
String targetFile = "lesson.css";
String pathToSearch ="
C:\\WCWC"; FindFile finder = new FindFile(MAX_NUMBER_OF_FILES_TO_FIND);
Finder.directorySearch(targetFile, pathToSearch);
File Searching
In general, searching can take multiple forms depending on the structure and order of the set to search. If we can make promises about the data (this data is sorted, or deltas vary by no more than 10, etc.), then we can leverage those constraints to perform a more efficient search. Files in a file system are exposed to clients of the operating system and can be organized by filename, file creation date, size, and a number of other properties. We’ll just be interested in the file names here, and we’ll want perform a brute force (i.e., sequential) search of these files looking for a specific file. The way in which we’ll get file information from the operating system will involve no ordering; as a result, a linear search is the best we can do. We’d like to search for a target file given a specified path and return the location of the file, if found. You should sketch out this logic linearly before attempting to tackle it recursively.
FindFile Class Interface
FindFile(int maxFiles): This constructor accepts the maximum number of files to find.
void directorySearch(String target, String dirName): The parameters are the target file name to look for and the directory to start in.
int getCount(): This accessor returns the number of matching files found
String[] getFiles(): This getter returns the array of file locations, up to maxFiles in size.
Requirements
Your program should be recursive.
You should build and submit at least two files: FindFile.java and Driver.java.
Throw an exception (IllegalArgumentException) if the path passed in as the starting directory is not a valid directory.
Throw an exception if you've found the MAX_NUMBER_OF_FILES_TO_FIND and catch and handle this in your main driver. Your program shouldn't crash but rather exit gracefully in the unusual situation that we've discovered the maximum number of files we were interested in, reporting each of the paths where the target files were found.
The only structures you can use in this assignment are basic arrays and your Stack, Queue, or ArrayList from the previous homeworks. Do not use built-in data structures like Java's ArrayList. To accomplish this, put in the following constructor and method to your ArrayList, Stack, or Queue:
public ArrayList(Object[] input) { data = input;
numElements = input.length;
}
public Object get(int index) {
return data[index];
}

Answers

Answer:

hxjdbjebjdbdubainsinnsubd jdn dkdjddkndjbdubdb su djsbsijdnudb djdbdujd udbdj. djdjdjidndubdu dubdjdbdinndjndidn s dj dudbdjubd dujdjjdjdb djdbdjd udbdudb jndjdbudbdue idbd dudbid d dujejdunebudbdjdj d

what is keyboard? answer me

Answers

Answer:

something you put your fingers on

Explanation:

something you type on

In the early days of the Internet, most access was done via a modem over an ________.
Question 10 options:

Analog telephone line

Fax

Telegram

None of the above

Answers

Answer:

analog telephone line

Explanation:

I hope this helps! :)

☁️☁️☁️☁️☁️☁️☁️☁️☁️

Type (dog, cat, budgie, lizard, horse, etc.) Create a class that keeps track of the attributes above for pet records at the animal clinic. Decide what instance variables are needed and their data types. Make sure you use int, double, and String data types. Make the instance variables private. Write 2 constructors, one with no parameters and one with many parameters to initialize all the instance variables. Write accessor (get) methods for each of the instance variables. Write mutator (set) methods for each of the instance variables. In the main method of the Animal Clinic class, create 3 Pet objects by calling their constructors. Then call the accessor methods, mutator methods and toString() methods to test all of your methods.

Answers

Answer:

If you did the exercise with two Dog objects, it was a bit boring, right? After all, we have nothing to separate the dogs from each other and no way of knowing, without looking at the source code, which dog produced which bark.

In the previous article, I mentioned that when you create objects, you call a special method called a constructor. The constructor looks like the class name written as a method. For example, for a Dog class, the constructor would be called Dog().

The special thing about constructors is that they are the path to any new object, so they are a great place to call code that initializes an object with default values. Further, the return value from a constructor method is always an object of the class itself, which is why we can assign the return value of the constructor to a variable of the type of class we create.

However, so far, we have not actually created a constructor at all, so how come we can still call that method?

In many languages, C# included, the language gives you a free and empty constructor without you having to do anything. It is implied that you want a constructor; otherwise there would be no way of using the class for anything, so the languages just assume that you have written one.

This invisible and free constructor is called the default constructor, and, in our example, it will look like this:

public Dog(){ }

Notice that this syntax is very similar to the Speak() method we created earlier, except that we do not explicitly return a value nor do we even declare the return type of the method. As I mentioned earlier, a constructor always returns an instance of the class to which it belongs.

In this case, that is the class Dog, and that is why when we write Dog myDog = new Dog(), we can assign the new object to a variable named myDog which is of type Dog.

So let’s add the default constructor to our Dog class. You can either copy the line above or, in Visual Studio, you can use a shortcut: type ctor and hit Tab twice. It should generate the default constructor for you.

The default constructor doesn’t actually give us anything new because it is now explicitly doing what was done implicitly before. However, it is a method, so we can now add content inside the brackets that will execute whenever we call this constructor. And because the constructor runs as the very first thing in an object’s construction, it is a perfect place to add initialization code.

For example, we could set the Name property of our objects to something by adding code such as this:

public Dog()

{

   this.Name = "Snoopy";

}

This example will set the Name property of any new objects to “Snoopy”.

Of course, that’s not very useful because not all dogs are called “Snoopy”, so instead, let us change the method signature of the constructor so that it accepts a parameter.

The parentheses of methods aren’t just there to look pretty; they serve to contain parameters that we can use to pass values to a method. This function applies to all methods, not just constructors, but let’s do it for a constructor first.

Change the default constructor signature to this:

public Dog(string dogName)

This addition allows us to send a string parameter into the constructor, and that when we do, we can refer to that parameter by the name dogName.

Then, add the following line to the method block:

this.Name = dogName;

This line sets this object’s property Name to the parameter we sent into the constructor.

Note that when you change the constructor’s signature, you get a case of the red squigglies in your Program.cs file.When we add our own explicit constructors, C# and .NET will not implicitly create a default constructor for us. In our Program.cs file, we are still creating the Dog objects using the default parameter-less constructor, which now no longer exists.

To fix this problem, we need to add a parameter to our constructor call in Program.cs. We can, for example, update our object construction line as such:

Dog myDog = new Dog(“Snoopy”);

Doing so will remove the red squigglies and allow you to run the code again. If you leave or set your breakpoint after the last code line, you can look at the Locals panel and verify that your object’s Name property has indeed been? Got it?

The program that keeps track of the attributes above for pet records at the animal clinic is in explanation part.

What is programming?

Making a set of instructions that instruct a computer how to carry out a task is the process of programming. Computer programming languages like JavaScript, Python, and C++ can all be used for programming.

The program can be:

public class Pet {

private String name;

private int age;

private double weight;

private String type;

private String breed;

public Pet() {

}

/**

* param name

* param age

* param weight

* param type

* param breed

*/

public Pet(String name, int age, double weight, String type, String breed) {

this.name = name;

this.age = age;

this.weight = weight;

this.type = type;

this.breed = breed;

}

/**

* return the name

*/

public String getName() {

return name;

}

/**

* param name

* the name to set

*/

public void setName(String name) {

this.name = name;

}

/**

* return the age

*/

public int getAge() {

return age;

}

/**

* param age

* the age to set

*/

public void setAge(int age) {

this.age = age;

}

/**

* return the weight

*/

public double getWeight() {

return weight;

}

/**

* param weight

* the weight to set

*/

public void setWeight(double weight) {

this.weight = weight;

}

/**

* return the type

*/

public String getType() {

return type;

}

/**

* param type

* the type to set

*/

public void setType(String type) {

this.type = type;

}

/**

* return the breed

*/

public String getBreed() {

return breed;

}

/**

* param breed

* the breed to set

*/

public void setBreed(String breed) {

this.breed = breed;

}

/*

* (non-Java)

*

*/

public String toString() {

return "Pet :: Name=" + name + ", age=" + age + ", weight=" + weight

+ ", type=" + type + ", breed=" + breed;

}

}

Thus, this is the program for the given scenario.

For more details regarding programming, visit:

https://brainly.com/question/11023419

#SPJ5

I need a three-digit multiplication that gives me 225 I mean: _x_x_ = 225 thanks​

Answers

Answer:

3 times 5 times 15.

Explanation:

We know 225=15 times 15. (Since it is a square.) And 15 can be split up into 3 and 5. So we can write 225 as 3 times 5 times 15.

if 100 KB file is stored in 2 MB folder how many files can be stored in the folder​

Answers

Answer:

20 files.

Explanation:

Given the following data;

Size of file = 100 kilobytes.

Folder size (memory) = 2 megabytes.

Method 1

1000 kilobytes = 1 megabytes.

100 kilobytes  = x megabytes

Cross-multiplying, we have;

1000x = 100

x = 100/1000

x = 0.1 mb

Now, to find the number of files that can be stored;

[tex] Number \; of \; files = \frac {Memory}{Size \; of \; each \; file} [/tex]

Substituting into the equation, we have;

[tex] Number \; of \; files = \frac {2}{0.1} [/tex]

Number of files = 20 files.

Method II

We know that;

1 kilobytes = 0.001 megabytes. 100 kilobytes = 0.1 megabytes. 1000 kilobytes = 1 megabytes. 2000 kilobytes = 2 megabytes.

Substituting into the formula, we have;

[tex] Number \; of \; files = \frac {Memory}{Size \; of \; each \; file} [/tex]

Substituting into the equation, we have;

[tex] Number \; of \; files = \frac {2000}{100} [/tex]

Number of files = 20 files.

What is the importance of larger fonts? Explain with the help of examples. ​

Answers

Answer: See explanation

Explanation:

The importance of larger fonts is that we should note that when words are being presented in the larger font size, such words are considered to be more memorable and also such words are typically rated with judgments of learning that is high.

It is believed also that people the size of the fonts affect the memory of people. The larger the font size, the larger the importance of such word that is being portrayed.

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 z
then the output is:
zoo
drizzle
To achieve the above, first read the list into a vector. Keep in mind that the character 'a' is not equal to the character 'A'.
5.23.1: LAB: Contains the character
#include
#include
using namespace std;
int main() {
/* Type your code here. */
return 0;
}

Answers

Answer:

In C++:

#include<iostream>

#include<vector>

using namespace std;

int main() {

int len;

cout<<"Length: ";  cin>>len;

string inpt;

vector<string> vect;

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

   cin>>inpt;

   vect.push_back(inpt); }

char ch;

cout<<"Input char: ";  cin>>ch;  

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

   size_t found = vect.at(i).find(ch);  

       if (found != string::npos){

           cout<<vect.at(i)<<" ";

           i++;

       }

}  

return 0;

}

Explanation:

This declares the length of vector as integer

int len;

This prompts the user for length

cout<<"Length: ";  cin>>len;

This declares input as string

string inpt;

This declares string vector

vector<string> vect;

The following iteration gets input into the vector

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

   cin>>inpt;

   vect.push_back(inpt); }

This declares ch as character

char ch;

This prompts the user for character

cout<<"Input char: ";  cin>>ch;  

The following iterates through the vector

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

This checks if vector element contains the character

   size_t found = vect.at(i).find(ch);  

If found:

       if (found != string::npos){

Print out the vector element

           cout<<vect.at(i)<<" ";

And move to the next vector element

           i++;

       }

}  

Following are the solution to the given question:

Program Explanation:

Defining header file.Defining the main method.In the main method, defining a vector array of string "x", integer variable "n1,i,j", and one character and one string variable "w,c".In the method, a for loop is declared that inputs string value in "w" from user-end and using "push_back" method that add value in vector array.After input value in character an other loop is declared that holding boolean value, and defining another loop.Inside this, an if block that check array value with character value, and after check value boolean variable is declared that hold value.At the last another if block is declared that check boolean value and prints array value.

Program:

#include <iostream>//header file

#include <string>//header file

#include <vector>//header file

using namespace std;

int main() //main  method

{

   vector<string> x;//defining vector array of string

   int n1,i,j;//defining integer variable

   string w;//defining string variable

   char c;//defining character array

   cin >> n1;//input integer value

   for (i = 0; i < n1; ++i)//defining loop that inputs string value from user-end

   {

       cin >> w;//input value

       x.push_back(w);//using push_back method that add value in vector array

   }

   cin >> c;//input character value

   for (i = 0; i < n1; ++i)//defining loop that match value

   {

       bool f = false;//holding boolean value

       for (j = 0; j < x[i].size(); ++j) //defining loop that check array value with character value

       {

           if (x[i][j] == c)//defining if block that check array value with character value

               f= true;//holding boolean value

       }

       if (f)//defining if block that check boolean value

       {

           cout <<x[i] << endl;//print value

       }

   }

   return 0;

}

Output:

Please find the attached file.

Learn more:

brainly.com/question/13543413

widow in respect to word processing ​

Answers

Answer:

To use the word widow.

Explanation:

She became a widow at the age of 95, due to the passing of her husband by natural causes.

Visual Basic Help:
Code a program that reads a test score (number) from a text-box, each time a button is clicked. In other words, every time a new score is entered in the text-box, the score should be taken by the program, stored and the text-box should be cleared, so that the user can enter a new score. The program should be able to check that the user is entering a number. If the user enters something different than a number (or leaves the text-box empty), the program should not continue and it should display a warning message to the user. After entering as many scores as wanted, the user should be able to click on a second button to display the two highest scores, among all the ones entered until that point. The program should also display the total number of scores entered by the user. Also, once the user clicks on the button to display the results and the results are displayed, the program should get ready to get a new set of scores and start again. If the user starts writing a new score, the text-boxes with the results should be cleared.
Example: Assume the user enters the following scores: 10, 5, 20. The scores are entered once at the time in the top text-box; when a score is entered, the user presses the button to "Read" the score. The score is taken by the program and the text-box is cleared, so that the next score can be entered. This process can be repeated as many times as the user wants and for as many scores as the user wants. Once all the scores are entered and read(or taken-in)by the program, the user clicks on the second button to display the results. The program should then display the two highest scores, among the ones entered. So, in the example, this would be 10, 20. And it should display the total number of scores entered by the user. In the example, it would be 3.
After that, the user should be able to repeat the process and enter a new set of scores, if wanted. The program should therefore be ready to take in new inputs and start the process again. When the user starts typing the new score, the text-boxes with the previous results (two highest scores and total num. of scores) should get cleared

Answers

Answer:

See text attachment for complete source code (for the answer) where I used comments to explain each line of the program

Explanation:

First, design the form using the following tools (and the accompanying properties) :

1 Label: Property: Text: Score

2 Buttons

Button1: Property: Name: btnAdd; Text: Add

Button2: Property: Name: btnDisplay; Text: Display

1 ListBox: Property: Visible: Hidden

1 TextBox: Property: Name: txtNum1

First, create the following function.

The function (named typecheck) validates input from the user (i.e. integer input only)

Function typecheck(ByVal input As String) As Boolean

       Try

           Convert.ToInt32(input)

           [tex]Return\ True[/tex]

       [tex]Catch\ ex\ As\ Exception[/tex]

           [tex]Return\ False[/tex]

       End Try

   End Function

It returns true if the input is integer and false, if otherwise.

Next, double-click on the "Add" button and write the following lines of code:

Dim num1 As String

       num1 = txtNum1.Text

       If num1 IsNot String.Empty Then

           If typecheck(num1) Then

               [tex]ListBox1.Items.Add(num1)[/tex]

               [tex]txtNum1.Text = String.Empty[/tex]

           Else

               [tex]MsgBox("Only[/tex] [tex]Integer[/tex] [tex]Inpu t")[/tex]

               [tex]txtNum1.Text = String.Empty[/tex]

           [tex]End\ If[/tex]

       Else

           [tex]MsgBox("Box[/tex] [tex]can\ not\ be\ empty")[/tex]

           [tex]txtNum1.Text = String.Empty[/tex]

       [tex]End\ If[/tex]

Next, double-click on the "Display" button and write the following lines of code:

If ListBox1.Items.Count > 0 Then

           [tex]Dim\ max1, max2\ As\ Integer[/tex]

           max1 = Convert.ToInt32(ListBox1.Items(0))

           max2 = Convert.ToInt32(ListBox1.Items(0))

           [tex]For\ count\ = 0\ To\ ListBox1.Items.Count - 1[/tex]

               If Convert.ToInt32(ListBox1.Items([tex]count[/tex])) >= max1 Then

                   max1 = Convert.ToInt32(ListBox1.Items([tex]count[/tex]))

               [tex]End\ If[/tex]

           Next

           [tex]For\ count\ = 0\ To\ ListBox1.Items.Count - 1[/tex]

               If Convert.ToInt32(ListBox1.Items([tex]count[/tex])) >= max2 And Convert.ToInt32(ListBox1.Items([tex]count[/tex])) < max1 Then

                   max2 = Convert.ToInt32(ListBox1.Items([tex]count[/tex]))

               [tex]End\ If[/tex]

           Next

           MsgBox("Highest Scores: " + max1.ToString() + " " + max2.ToString())

           MsgBox("[tex]Total[/tex]: " + ListBox1.Items.Count.ToString())

       [tex]End\ If[/tex]

       ListBox1.Items.Clear()

unemployment is one of the disadvantage of computer explain this statement with example​

Answers

In industry, computer technology is used by developing robots to assemble products in a short amount of time. This has led to unemployment as manual labour is kept to a minimum due to the robots being able to assemble products at a much faster speed than humans.

Other Questions
Solve problem using substitutiona = 3b + 15b - 2a = 1 hi can you please help me with my work Find the product. 7/10 X 3/6 Which of the following best represents the dependent quantities in the graph below?A. 2, 20, 4, 40B. 2, 4, 6, 8C. 20, 40, 60, 80D. 10, 20, 30, 40, 50 Which of the following is equal to the expression below?(5-6)2A. -541.D. -512 Please answer this question its due in 5 minutes Ill give the brainliest Can someone plzz help me ???? PLS HELP I NEED IT PLSSSSSS Which evidence is most relevant to Nixon's claim that his spending plans are superior to Kennedy's?A. "I believe . . . that his program would lead to the stagnation of the motive power that we need in this country to get progress."B. "I know Senator Kennedy feels as deeply about these problems as I do, but our disagreement is not about the goals for America but only about the means to reach those goals."C. "Let us understand throughout this campaign that his motives and mine are sincere."D. "Now, when we look at these programs, might I suggest that in evaluating them we often have a tendency to say that the test of a program is how much you're spending."PLEASE HELP!! In the figure below, Angle OQP is a right angle. What is the measure of Angle LQM?answer options19 degrees22 degrees31 degrees38 degrees i need help38 = 15 + n subject and object pronounsRishi and (I,me) have always shared an intimate relationship over the years. guys i need your help me 1.1 With the aid of examples, mention and briefly explain five (5) different communicationcontexts. (10)1.2 You are a manager at Universal Imports and Exports. (Choose a department that is inyour field, e.g, marketing, accounting, etc.) At a meeting the CEO asks you to deliveran oral report about your department's progress. However, you have a migraine andare unable to deliver the report comprehensively. Draw a communication model of thissituation. Label all the elements present and indicate the barrier that is evident here.(10)1.3 You have identified a communication barrier in 1.2 above. Briefly name and giveexamples of the other four communication barriers. (8)1.4 Communication is about meaning. Meaning can be expressed in two different codes,namely verbal and non-verbal communication. Explain the difference between the two(2) Which action is a restaurant manager's main duty and enhances customer satisfaction?A. seating the guestsB. interacting with all guestsC. offering complimentary drinksD. taking orders from guests The Memorial baseball team purchased three times as many gloves as bats this year. If each glove cost $50 and each bat cost $30 and a TOTAL of $720 was spent on gloves and bats, Find the cost of one glove and one bat. Subtracting fractions What do King Duncan's behavior and treatment of Macbeth suggest about hischaracter? NEED HELP WHAT IS THE SLOPE!! PLZ HELY ILL MARK BRANILEST