Just a quick question, how do you set something == to char and int in an if statement (java)
Write a method checkCharacter() which has 2 parameters: A String, and a specified index (an int). Method checkCharacter() checks the character at the specified index of the String parameter, and returns a String based on the type of character at that location indicating if the character is a letter, digit, whitespace, or unknown character.


Ex: The method calls below with the given arguments will return the following Strings:


checkCharacter("happy birthday", 2) returns "Character 'p' is a letter"

checkCharacter("happy birthday", 5) returns "Character ' ' is a white space"

checkCharacter("happy birthday 2 you", 15) returns "Character '2' is a digit"

checkCharacter("happy birthday!", 14) returns "Character '!' is unknown"


Your program must define the method:

public String checkCharacter(String word, int index)



this is what i got to but im stuck on how to find out if its a char or int


public class TollCalculation {


public double calcToll(int hour, boolean isMorning, boolean isWeekend) {

Scanner scnr = new Scanner(System.in);

int timeHour; // Time of travel hour (24 hour format)

int timeMinute; // Time of travel minute

int inputColon; // Used to read time format

String userInput; // User specified time

double tollAmount;

}


public static void main(String[] args) {

TollCalculation tollObj = new TollCalculation();


// Test the three samples from the specification.

System.out.println(tollObj.calcToll(7, true, false));

System.out.println(tollObj.calcToll(1, false, false));

System.out.println(tollObj.calcToll(3, true, true));

}

}

Answers

Answer 1

This is the requested code in java.

public class CharTest {

   public static String checkCharacter(String text, int index) {

       if (0 <= index && index <= text.length()) {

           char ch = text.charAt(index);

           if (Character.isLetter(ch)) {

               return ch + " is a letter";

           } else if (Character.isDigit(ch)) {

               return ch + " is a digit";

           } else if (Character.isWhitespace(ch)) {

               return ch + " is a whitespace character";

           } else {

               return ch + " is an unknown type of character";

           }

       } else {

           return "index " + index.toString() + " is out of range";

       } // end if

   } // end function checkChar()

   public static void main(String[] args) {

       // Test the three samples from the specification.

       System.out.println(checkCharacter("happy birthday", 2));

       System.out.println(checkCharacter("happy birthday", 5));

       System.out.println(checkCharacter("happy birthday 2 you", 15));

   } // end function main()

} // end class CharTest

The function checkcharacter(text, index) returns a string value describing the kind of character found at the position in text specified by index; whether it was a letter, digit, whitespace, or an unknown kind of character.

How it does that is to make use of respective functions defined within the Character class in java. That is

isLetter(char) returns a bool specifying if the char parameter is a letter.isDigit(char) returns a bool specifying if the char parameter is a digit.isWhitespace(char) returns a bool specifying if the char parameter is a whitespace character.

It calls these functions in an if statement. These else part of the if statement is then executed if the character is neither a letter, digit, or whitespace.

Finally, the function main() calls checkCharacter() three times to test the function and return the results to the console.

Another example of a java program on characters is found in the link below

https://brainly.com/question/15061607


Related Questions


A machine that converts energy to useful work.

Answers

Answer:

heat engine

A heat engine is any machine which converts heat into useful work for example, a steam engine or a car engine. Real heat engines are complex and there are many ways of converting heat energy into useful work. We can abstract and generalise the workings of any heat engine into three parts:

Explanation:

CAN I GET BRAINLIEST

how can computers be a threat to public safety??

help asap marking brainiest ​

Answers

Loss or theft of your computer, smartphone or tablet. Malware, including spyware, on public computers. Theft of personal information from, or access to browsing history on public computers.

Write a python function to compute a certain number to a given power. The program should continue asking the user for number and power and display the result until the user enters 0 as the number. Note: don't use the power function of Python. Compute the power using a for or a while loop.

Answers

while True:

   number = int(input("input the number: "))

   exponent = int(input("input the exponent : "))

  if number == 0:

       break

   else:

       result = 1

       while exponent != 0:

           result *= number

           exponent-=1

       print("Answer = " + str(result))

   

we are asked not to use the power function of python. The question wants us to use a for or a while loop to compute the power.

The while loop makes sure the user is always asked to input the number and an exponent.

If the users number equals 0, the while loop will break.

Else the code will find the power of the number.

Finally, we print the answer if the user number is not zero

The bolded part of the code are python keywords.

read more: https://brainly.com/question/12992668?referrer=searchResults

Each road is associated with a value indicating the level of danger in maintaining that road during winter months. There are many subsets of roads such that the roads in such subsets keep the towns connected directly or indirectly. Each subset is assigned a cost of maintenance, which is directly proportional to the highest danger level of the road present in that subset. The engineer wants to select the smallest subset that keeps the towns connected directly or indirectly and that also has the lowest cost of maintenance. Develop an algorithm to find such a subset. Justify the correctness of your algorithm and derive its runtime.

Answers

Answer:

Each road is associated with a value indicating the level of danger in maintaining that road during winter months. There are many subsets of roads such that the roads in such subsets keep the towns connected directly or indirectly.

Which of the following can you do after switching to Outline view? Select all the options that apply.
a. Change the level of text.
b. Change the order of slides.
c. Move text within a slide.
d. View an outline of the presentation.

Answers

On PowerPoint, the tasks that can be performed after switching to Outline view include:

a. Change the level of text.

c. Move text within a slide.

d. View an outline of the presentation.

PowerPoint can be defined as a software application (program) that is generally designed and developed by Microsoft Inc., to avail its end users an ability to create multiple slides containing textual and multimedia information which can be used during a presentation.

Generally, there are five (5) main view that are available in PowerPoint and these include:

Normal viewReading viewNotes pageSlide sorterOutline view

An outline view allows an end user to see a whole (entire) presentation in logical order. Thus, the presentation is displayed as an outline comprising the titles and main text from each slide of the presentation.

Hence, the tasks that can be performed after switching to Outline view include:

1. Change the level of text.

2. Move text within a slide.

3. View an outline of the presentation.

Read more: https://brainly.com/question/19543735

What are 3 things message timing must include

Answers

Answer:

1)Message Timing. Another factor that affects how well a message is received and understood is timing. ...

2)Access Method. Access method determines when someone is able to send a message. ...

3)Flow Control. Timing also affects how much information can be sent and the speed that it can be delivered.

Develop an algorithm and draw a flowchart to determine and input number is palindrome or not.​

Answers


function checkPalindrome(str){
let reversed = str.split("").reverse().join("")
return str === reversed
}
let str1 = "anna"
let str2 = "banana"
let str3 = "kayak"
checkPalindrome(str1)
// -> true
checkPalindrome(str2)
// -> false
checkPalindrome(str3)
// -> true

Pre-Test: Players on EverQuest II encounter Pizza Hut stores and can even order a pizza in real life using an in-game command. This is an example of

Answers

EverQuest II case is an example of a transactional ad.

What is transactional ad?

A transactional advertisement is a method of completing a financial transaction through an advertisement, without the need for the user / buyer to travel to the store.

Why does the example classify as transactional ad?

The EverQuest II case is an example of transactional ad because they implemented a command for players to complete a transaction (the purchase of a pizza) through an in-game command without having to go to the pizza shop.

Learn more about videogames in: https://brainly.com/question/11274464

In the EXPLORE online library, the ratio of the number of novels to that of dictionaries is 2:3 and the total number of novels is 624. If Joe buys more novels and the ratio becomes 7:3, then how many novels have been bought in total?

Answers

Answer:

Answer is 2184

Explanation:

1st of all we need to know the total number of novels in the library if I have it with a ratio of one meaning:

2---------624

1----------???

(1×624)÷2 =312

Meaning with a ratio of 1 I'll have 312

Take the 312 and multiply with 7

It will give you 2184

That's the number of Novels which were bought by joe

Given an array of String objects, use streams to count how many have a length less than or equal to three. StringLengthDemo.java

Answers

The array of String objects, use to count how many have a length less than

or equal to three is as follows:

string_object = ["brainly", "mathematics", "boy", "girl", "us", "joy", "key"]

x = []

for i in string_object:

   if len(i) <= 3:

       x.append(i)

print(len(x))

The code is written in python

The string array is declared.

Then an empty variable array is declared.

Then we loop through the array.

If any of the string length in the array is less than or equals to 3 , we append it to the empty array.

Then finally, we print the counted number of strings

learn more: https://brainly.com/question/22081416?referrer=searchResults

Partially-filled Arrays
Write the function rindby() which stands for remove mark>if not divisiby by. The function removes all elements from the array that are not evenly divisible by the argument n. You can find out if a number is evenly divisible by n using the remainder operator: % (there will be nothing left over).
The function returns the number of items removed or -1 if the array was originally empty.
The function takes 3 arguments:
the array of int that may be modified.
the size of the array (use size_t as the type)
the int n used to check for divisibility
Here are two short examples:
int a[] = {2, 3, 4, 5, 6};
size_t size = 5;
int removed = rindby(a, size, 2);
// removed->2, a = [2, 4, 6], size = 3
size = 0;
removed = rindby(a, size, 3);
// removed-> -1, no change otherwise
In the first case, the numbers 3 and 5 are removed because they are not divisible by 2. Only the numbers that are divisible by 2 are left in the array.
In the second, size has been set to , so the input array is empty and the function returns - 1.
Exam C++ Quick Reference
p1.cpp
1 #include // size_t for sizes and indexes
2 using namespace std;
3
4 ////////////////WRITE YOUR FUNCTION BELOW THIS LINE ///////////////
5 int rindby(int all, size_t& size, int number)
6 {
7 int result;
8 // Add your code here
9 return result;
10 }
11

Answers

Answer:

um

Explanation:

Write an inheritance hierarchy for classes Quadrilateral, Trapezoid, Parallelogram, Rectangle and Square. Use Quadrilateral as the superclass of the hierarchy. Create and use a Point class to represent the points in each shape. Make the hierarchy as deep (i.e., as many levels) as possible. Specify the instance variables and methods for each class. The private instance variables of Quadrilateral should be the x-y coordinate pairs for the four endpoints of the Quadrilateral. Write a program that instantiates objects of your classes and outputs each object‟s area (except Quadrilateral​

Answers

Answer:

CODE:

public class QuadrilateralTest {

public static void main(String[] args) {

// NOTE: All coordinates are assumed to form the proper shapes

// A quadrilateral is a four-sided polygon

Quadrilateral quadrilateral =

new Quadrilateral(1.1, 1.2, 6.6, 2.8, 6.2, 9.9, 2.2, 7.4);

// A parallelogram is a quadrilateral with opposite sides parallel

Parallelogram parallelogram =

new Parallelogram(5.0, 5.0, 11.0, 5.0, 12.0, 20.0, 6.0, 20.0);

// A rectangle is an equiangular parallelogram

Rectangle rectangle =

new Rectangle(17.0, 14.0, 30.0, 14.0, 30.0, 28.0, 17.0, 28.0);

// A square is an equiangular and equilateral parallelogram

Square square =

new Square(4.0, 0.0, 8.0, 0.0, 8.0, 4.0, 4.0, 4.0);

System.out.printf(

"%s %s %s %s\n", quadrilateral, parallelogram,

rectangle, square);

}

}

RESULT:

Coordinates of Quadrilateral are:

2 (1.1, 1.2), (6.6, 2.8), (6.2, 9.9), (2.2, 7.4)

3  

4 Coordinates of Parallelogram are:

5 (5.0, 5.0), (11.0, 5.0), (12.0, 20.0), (6.0, 20.0)

6 Width is: 6.0

7 Height is: 15.0

8 Area is: 90.0

9  

10 Coordinates of Rectangle are:

11 (17.0, 14.0), (30.0, 14.0), (30.0, 28.0), (17.0, 28.0)

12 Width is: 13.0

13 Height is: 14.0

14 Area is: 182.0

15  

16 Coordinates of Square are:

17 (4.0, 0.0), (8.0, 0.0), (8.0, 4.0), (4.0, 4.0)

18 Side is: 4.0

19 Area is: 16.0

Explanation:

In this exercise we have to use the knowledge of computational language in JAVA, so we have that code is:

It can be found in the attached image.

So, to make it easier, the code in JAVA can be found below:

public class QuadrilateralTest {

public static void main(String[] args) {

new Quadrilateral(1.1, 1.2, 6.6, 2.8, 6.2, 9.9, 2.2, 7.4);

new Parallelogram(5.0, 5.0, 11.0, 5.0, 12.0, 20.0, 6.0, 20.0);

new Rectangle(17.0, 14.0, 30.0, 14.0, 30.0, 28.0, 17.0, 28.0);

new Square(4.0, 0.0, 8.0, 0.0, 8.0, 4.0, 4.0, 4.0);

System.out.printf(

"%s %s %s %s\n", quadrilateral, parallelogram,rectangle, square);

}

}

See more about JAVA at brainly.com/question/2266606

Write javascript code for the form that appears in the image below. you are expected to add validation to the name field, email field, and radio button selection. The HTML code is given below, Insert the javascript validation code in the area of the HTML code shown below and save the file. Paste one screenshot of the validation you have written.

Couldn't find much on this, and don't rly know what to do.

Answers

Hope this helps. Please rate. Thanks.

identify another natural cyclic event, other than phases and eclipses, that is caused by the moon's gravitational pull on earth

Answers

Answer:

TEKS Navigation

Earth Rotation.

Moon Phases.

Tides.

Cyclical events happen in a particular order, one following the other, and are often repeated: Changes in the economy have followed a cyclical pattern. an example would be pamdemic and vircus it is belived that a new pamdemic starts every 100 years.

Explanation:

The rise and fall of ocean tides is the natural cyclic event caused by the moon's gravitational pull on earth

The gravitational pull of the moon's causes the two bulges of water on the Earth's oceans:

where ocean waters face the moon and the pull is strongestwhere ocean waters face away from the moon and the pull is weakest

In conclusion, the rise and fall of ocean tides is the natural cyclic event caused by the moon's gravitational pull on earth

Read more about gravitational pull

brainly.com/question/856541

stages of IT revolution​

Answers

Answer:

Technological revolutions are dissected into three stages:

The introduction stageThe permeation stageThe power stage

what is the difference between information poor and information rich

Answers

Answer:

The “Information poor” are consumers who use traditional mass media information such as television, DVDs, radios and magazines. ... On the opposite “information rich” stands for a new elite within the information society.

Explanation:

Write a function named parts that will take in as parameters the dimensions of the box (length, width, and height) and the radius of the hole, and returns the volume of material remaining. Assume the hole has been drilled along the height direction. Note: first write the function assuming the hole has radius less than min(length/2, width/2). For full credit, you will need to account for larger radii (bigger than half the length or width of the box).

Answers

The function in Python where comments are used to explain each line is as follows:

#This defines the parts() function

def parts(length, width, height, radius):

   #This calculates the volume of the box

   VBox = length * width * height

   #This calculates the volume of the hole

   VHole = 3.142 * radius ** 2 * height

   #This calculates the remaining volume

   Volume =  VBox - VHole

   #This returns the volume of the remaining material

   return Volume

The above program is a sequential program, and it does not require loops, iterations and conditions.

Read more about similar programs at:

https://brainly.com/question/13971394

Tamanika got a raise in her hourly pay, from $15.90 to $17.65. Find the percent increase

Answers

15.90/17.65 = x/100
1590 = 17.65x
x = 90.08%
So this means the increase would be 9.92%

You arrive at your first client meeting with Jaba's Smoothie Hut. Jaba's owner, Kim, has asked you to install a Wi-Fi network for his customers. Kim has told you that the store needs the following:

Dedicated internet service with enough bandwidth to meet customer demand and run the store.
Be cost effective (Kim does not want the most expensive or the cheapest).
Customers will use Wi-Fi and the business will have 5 wired connections

Select the correct package for the Jaba's Smoothie Hut:

a. 20 Mbps service with 1 modem/Router, a 16 port switch, and 1 wireless access point
b. 100 Mbps service with 1 Modem/Router, a 24 port switch, 3 wireless access points (1 for office, 1 for retail, and 1 for outside)

Answers

The correct package which can be used to set up the Jaba's Smoothie Hut so that there would be dedicated internet service with enough bandwidth to meet customer demand and run the store is:

b. 100 Mbps service with 1 Modem/Router, a 24 port switch, 3 wireless access points (1 for office, 1 for retail, and 1 for outside)

According to the given question, we are asked to show the correct package which can be used to set up the Jaba's Smoothie Hut so that there would be dedicated internet service with enough bandwidth to meet customer demand and run the store

As a result of this, we can see that when using wireless networks (WiFi), there is a necessity to make use of a fast 100 Mbps service so that the connection would have sufficient bandwidth to meet the needs of the store and customers.

Therefore, the correct answer is Option B

Read more here:

https://brainly.com/question/18450917

Create a program that uses an array of Shape references to objects of each concrete class in the hierarchy (see program-2). The program should print a text description of the object to which each array element refers. Also, in the loop that processes all the shapes in the array, determine the size of each shape If it‟s a TwoDimensionalShape, display its area. If it‟s a ThreeDimensionalShape, display its area and volum ​

Answers

You got any social media would send you the rest. If you want it.

The program uses an array for shape reference to objects of each concrete class given. The program is in text description in java language.

What is a program array?

Array programming in computer science refers to methods that allow operations to be applied to a whole set of values at once. This kind of solution is frequently used in scientific and engineering settings.

Shape.java

public abstract class Shape { private int sides;

public Shape() {

this.sides=0;

}

public Shape(int sides) { super(); this.sides = sides;

}

public int getSides() { return sides;

}

public void setSides (int sides) { this.sides = sides;

}

public abstract double calcArea();

Override

public String toString() {

return "This Shape has [sides=" + sides + "]";

Therefore, the program array is given above.

To learn more about program array, refer to the link:

https://brainly.com/question/13104121

#SPJ2

Your company is building a new architecture to support its data-centric business focus. You are responsible for setting up the network. Your company's mobile and web-facing applications will be deployed on-premises, and all data analysis will be conducted in GCP. The plan is to process and load 7 years of archived .csv files totaling 900 TB of data and then continue loading 10 TB of data daily. You currently have an existing 100-MB internet connection. What actions will meet your company's needs

Answers

The actions will meet your company's needs is to Lease a Transfer Appliance, upload archived files to it, and send it to oogle to transfer archived data to Cloud Storage.

Data centric is simply known to be an architecture where data is said to be of primary and permanent asset, and applications is temporary.

Businesses is all about functionality, and as such, firms often buys or build application systems.

Each application system is known to have its own unique data model, and its code is often linked with the data model used.

Conclusively, Transferring large datasets needs manpower that is the right team, planning early, and testing your transfer plan before its use.

 

Learn more data-centric business from

https://brainly.com/question/21810261

Find the error and rewrite the code with the error fixed.
// INSTANCE VARIABLE

public class Main {



public static void main(String[] args) {



Product prod1 = new Product();

prod1.Barcode = 123456;



Product prod2 = new Product();

prod2.Barcode = 987654;



System.out.println(prod1.Barcode);

System.out.println(prod2.Barcode);

}

}



public class Product {

public int Barcode;

}

Answers

Answer:

Explanation:

1st mistake: Barcode is written with upeer case, that's not the convention for variables in java, only classes.

2nd: Barcode is public, it is convention to always leave variables private then create getters and setters in case you need to change the value but never acess the variable outside the class it belongs. Also the class should at least have a default constructor in case you are going to instantiate an object outside it.

so the product class should be:

--------------------------------------------------------------------

public class Product {

private int barcode;

        public Product() {

        // default constructor

        }

public int getBarcode() {

 return barcode;

}

public void setBarcode(int barcode) {

 this.barcode = barcode;

}

}

-------------------------------------------------------------------------

3rd: in the main class now you can instantiate the 2 objects but you are gonna set the variable and get the value through the method, like this:

public class Main {

 

public static void main(String[] args) {

   

 Product prod1 = new Product();

 prod1.setBarcode(123456);

 Product prod2 = new Product();

 prod2.setBarcode(987654);

 System.out.println(prod1.getBarcode());

 System.out.println(prod2.getBarcode());

}

}

-----------------------------------------------------------------------------------

Assuming the 2 classes (main and product) are in the same package. But in case they are in different packages, just make sure to import the Product class into the Main class so that you can instantiante an object (new Product()) of it.

Please help me !!!!!!!

Answers

Answer:

Explanation:

CTRL+F

To open the Find pane from the Edit View, press Ctrl+F, or click Home > Find. Find text by typing it in the Search the document for… box. Word Web App starts searching as soon as you start typing

What is a storage device? Give one example of Primary magnetic storage, Primary optical storage and Portable storage.

Answers

Answer:

fácil solo ve a tu almacenamiento y aprende

Primary optical storage

What are two drawbacks of using netbook ? (Choose two)
A. Portability
B. Screen size
C. Boot up time
D. Storage capacity

Answers

Answer:

D and C

Explanation:

I would say D and C because they don't have fast processors they normally only use Celerons. and normally they only have a 64GB internal SSD.

It's definitley not a because they are extremely portable and have amazing battery life

I don't think its B because they have small screens but you can also get them in bigger 14" variants which is normally the generic size.

Which of the following is a federal initiative that is designed to encourage organizations to address how critical operations will continue under a broad range of negative circumstances?

Answers

A continuity of operation planning (COOP) is an initiative that is designed by the federal government, so as to encourage business organizations and its departments to address how essential functions and critical operations will continue under a broad range of negative circumstances (disaster).

Business continuity can be defined as an advanced planning, processes, procedures, preparation, and decisions made by a business organization, so as to ensure the maintenance of essential functions and critical operations during and after the occurrence of a disaster. Thus, a disaster recovery plan (DRP), business impact analysis (BIA) and continuity of operation planning (COOP) are an integral and important part of business continuity.

A continuity of operation planning (COOP) is an initiative that is designed by the federal government of the United States of America, so as to encourage business organizations and its departments to address how essential functions and critical operations will continue under a broad range of negative circumstances (disaster).

In continuity of operation planning (COOP), an all round hazard approach is adopted rather than just focusing on specific hazardous events, in order to ensure essential functions and critical operations of a business organizations will continue under a broad range of negative circumstances (disaster).

Read more: https://brainly.com/question/17586013

11.23. Sort the words in a sentence Define a function called sorted_word_list, which takes a sentence (a string) as a parameter. Complete the function to make and return a list of the words in the sentence in sorted order.

Answers

The function to make and return a list of the words in the sentence in sorted order is as follows:

def sorted_word_list(x):

   sorted_characters = sorted(x)

   return list(sorted_characters)

print(sorted_word_list("string"))

The code is written in python .

We declared a function named  sorted_word_list with a parameter x. The parameter accept a string.

sorted_characters is a variable that stores the sorted strings.

Then we return a list of the sorted string using the return statement.

Finally, we call the function using the print statement.

The values that are bolded in the code are python keywords.

read more: https://brainly.com/question/13973680?referrer=searchResults

Sarah was recently reviewing all the photos that she has saved on her computer and was shocked to find that she has over 10,000 images. Thankfully, digital photography will allow her to rearrange, organize, and easily search within her photos. What types of tasks are these?

A.
image evolution

B.
image formatting

C.
image editing

D.
image management

Answers

Answer:

D

Explanation:

image management

The type of task that allows Sarah to rearrange, organize, and easily search within her photos is known as Image management. Thus, the correct option for this question is D.

What do you mean by image management?

Image management may be characterized as a type of feature that allows a user to store, organize, centralize, and distribute digital images, assets, and graphics that are automatically saved in the computer. It also evaluates and enhances your image with respect to the perception of others.

According to the context of this question, image formatting nay deals with the file formatting for a digital image such as JPEG, PNG, GIF, etc. Image editing encompasses the process and strategy of acquiring alteration in the image with respect to a user.

Therefore, image management is the task that allows Sarah to rearrange, organize, and easily search within her photos. Thus, the correct option for this question is D.

To learn more about Image management, refer to the link:

https://brainly.com/question/19263329

#SPJ2

The web design teams of a company are working on designing websites for various companies, Pick the ideas that employ proper use of
metaphor.
Danny is creating a website for senior citizens that uses large fonts to improve accessibility. Keenan is working on a website for school children
learning chemistry that is designed to look like a chemistry lab. Justin has created a website for a flower bouquet manufacturer that shows all
the available types of bouquets. Adam has designed a website for viewing movie trailers for the local cinema that display the video on a screen
made to look like a drive-in theater. Paul has created a website for pre-school children to learn English using very simple language and small
words.

Answers

Answer:

C

Explanation:

I KNOW ITS RIHGHT

Answer:

1. Keenan is working on a website for school children learning chemistry that is designed to look like a chemistry lab. 2. Adam has designed a website for viewing movie trailers for the local cinema that display the video on a screen made to look like a drive-in theater

Explanation: 5/5 on the test

If you will choose among the multimedia mentioned, what will you use to promote this advocacy: Stop strand discrimination. We are all equal.

Answers

The media that I would choose to promote the arrest of discrimination would be television, radio, newspaper, and social media.

When we want to transmit a message to many people, the most appropriate thing is to use mass media, that is, media that have a large coverage of people, such as:

TVRadioNewspapers

 

On the other hand, in recent years people can expose their ideas or disseminate information through social networks, because their messages can become a trend among people and have an even greater reach than conventional media.

Another positive aspect of social networks is that they reach a greater diversity of people with different characteristics such as:

ReligionPolitical positionSocioeconomic positionEducational levelAgeSexBirthplace

Therefore, to spread an anti-discrimination message the best option is to spread it through mass media such as television, radio, newspapers and social networks.

Learn more in: https://brainly.com/question/23228635

Other Questions
A(n) ________ question requires respondents to select one or more response options from a set of predetermined choices. What would a force diagram for something WHILE it is being thrown DOWNWARDS look like? Ty Please help asap chemistry worksheet doesnt make sense To make hot cocoa on the trip, you will need to boil water. Construct anexplanation that describes how the lower air pressure in the mountains affectsthis process.i need an answer in under an hour pls help Read the excerpt from "Give Me Liberty or Give MeDeath" by Patrick Henry.And what have we to oppose to them? Shall we tryargument? Sir, we have been trying that for the lastten years. Have we anything new to offer upon thesubject? NothingHow does the arrangement of questions andanswers in this excerpt support Henry's purpose?O It suggests that the colonists have avoided anyconfrontation with the British.O It explains that the colonists must try harder toreason with the BritishO It emphasizes that fighting the British is the onlyoption left for the colonists.o It shows that previous disputes with the Britishhave been successful. PLS HELP ASAP ILL GIVE BRAINLKEST THANKS Which words help you CONTRAST two things?which, whose, whenalso, likewise, as wellinstead, on the other hand, howeveragainst, to, upon When Dave and his friend sit down to rewrite the budget, how realistic is it? Could the budget be balanced and changed that easily? Why or why not? Why do we need a balanced budget? A firm using paid, non-personal communication by identified sponsors through various media has chosen to use _ to promote its products. Help my brain is on life support isnt it 2 to the power of 6 What is most likely to happen as a result of Jamaal following these steps? He will increase his understanding of content in other subject areas. He will see an improvement on his test score for the upcoming science test. His teacher will allow him to retake his test if he does poorly. He will receive a lecture from his teacher for performing poorly on his science tests. Complete the equation of the line through (-6,-5)(6,5)left parenthesis, minus, 6, comma, minus, 5, right parenthesis and (-4,-4)(4,4)left parenthesis, minus, 4, comma, minus, 4, right parenthesis.Use exact numbers. It takes Billy 40 minutes to drive to his friend's house at his normal speed but it takes two hours if he drives 20 mph slower how far away is Billy's friend's house. How far does his friend live? In the diagram below if bulb 2 blew out what would happen to the VOLTAGE? (its not decreases thats why its highlighted) How many U.S Troops was there at the battle of Little Bighorn how can you find the product of positive and negative decimals I need help pls I'll give brainliest!!!!!!!!!!!!!!!!!!!!!! Can someone please give me the answer The lithosphere is made up of many separate plate called How does a bacteriophage work.