How do you modify WordArt? Give specific details and steps

NEED THIS ASAP

Answers

Answer 1

The steps to modify a WordArt text are:

Click on the Editing WordArt TextThen Double click or select  the WordArt image.Via the use of the Format command tab, in the Text group, select Edit Text and the Edit WordArt Text dialog box showThrough the use of the Text text box, make all changes you want.Select OK.

What is Word art?

Word art or text art is known to be a kind of an art that is made up of text, creating words or phrases along with  visual imagery.

Therefore, The steps to modify a WordArt text are:

Click on the Editing WordArt TextThen Double click or select  the WordArt image.Via the use of the Format command tab, in the Text group, select Edit Text and the Edit WordArt Text dialog box showThrough the use of the Text text box, make all changes you want.

Select OK.

Learn more about WordArt from

https://brainly.com/question/938171

#SPJ1


Related Questions

three classifications of operating system​

Answers

Answer:

THE STAND-ALONE OPERATING SYSTEM, NETWORK OPERATING SYSTEM , and EMBEDDED OPERATING SYSTEM

Following Aristotle,man by nature is a political animal,justify the above claim in the light of the Russian invasion of Ukraine

Answers

Following Aristotle, man by nature is a political animal using the claim in the light of the Russian invasion of Ukraine is that:

Aristotle stated that State is natural due to the fact that nature has not made man to be in a self-sufficient state. But Man has a lot of -different type of needs  which they want them to be fulfilled. Russian need and Ukraine need differs and as such, man is fighting to satisfy their needs.

What is the quote about?

In his Politics, Aristotle was  known to be a man who believed man to be a "political animal" due to the fact that he is a social creature that is said to have the power of speech and also one that has moral reasoning:

He sate that man is a lover of war and as such, Aristotle stated that State is natural due to the fact that nature has not made man to be in a self-sufficient state. But Man has a lot of -different type of needs  which they want them to be fulfilled. Russian need and Ukraine need differs and as such, man is fighting to satisfy their needs.

Learn more about Aristotle from

https://brainly.com/question/24994054

#SPJ1

We can sell the Acrobat Reader software to the other users”. Do you agree with this statement? Justify your answer.

Answers

No, as a User, one CANOT sell Acrobat Reader software to the other users.

What is Adobe Reader?

Acrobat Reader   is a software developed by Adobe and is generally available as a free   PDF viewer.

While individuals can use Acrobat Reader for free,selling the software itself would be in violation of   Adobe's terms of use and licensing agreements.

Therefore, selling Acrobat Reader to other users would not be legally permissible or aligned with Adobe's distribution model.

Learn more about Adobe Reader at:

https://brainly.com/question/12150428

#SPJ1

SUPPOSE YOU ARE DISCUSSING A PROGRAM WITH YOUR LEARNING COACH AND YOU WANT TO KNOW WHY ANYONE WOULD EVER USE LINEAR SEARCH IN A PROGRAM WHEN IT IS SO INEFFICIENT. WHICH OF THE FOLLOWING REASONS MIGHT THE LEARNING COACH GIVE?
A: LINEAR SEARCH IS PERFECT IF THE DATA IS NOT SORTED
B: LINEAR SEARCH IS PERFECT IF THE DATA IS SORTED
C: LINEAR SEARCH IS PERFECT IF THE DATA HAS A PIVOT POINT
D: LINEAR SEARCH IS PERFECT IF THE DATA HAS A MIDPOINT

Answers

Since you want to know why anyone would ever use linear search in a program when it is so inefficient. the reason that  the learning coach need to give is option A. Linear search is perfect if the data is not sorted.

Does linear search require sorted data?

In regards to the use of linear search input data, it is known to be a kind of toll that does not require  data to be sorted that is not to be in sorted way. In binary search input data, ti is one that need data  to be in sorted form. It is also the case with sequential search.

Linear search can be a type that is often used to search for the little or largest value in any form of unsorted list instead of the act of searching for a match.

Note that  It can do the work by keeping records or track of the biggest (or smallest) value and also does the work of updating the needed algorithm.

Therefore, Since you want to know why anyone would ever use linear search in a program when it is so inefficient. the reason that  the learning coach need to give is option A. Linear search is perfect if the data is not sorted.

Learn more about Linear search from

https://brainly.com/question/13143459
#SPJ1

Write a Python program in which a student enters the number of college credits earned. If the number of credits is greater than 90, 'Senior Status' is displayed; if greater than 60, 'Junior Status' is displayed; if greater than 30, 'Sophomore Status' is displayed; else, 'Freshman Status' is displayed.

Answers

Answer:

CONCEPT:Python code to get the status of Student based on thier Earnings CODE: def main(): print('Student Classification Software.') try: userCredit =int( input('\nPlease enter student credits: ')) if userCredit >90: print('\nSenior Status') elif 60 <userCredit <90 : print('\nJunior Status') elif 30 < userCredit < 60: print('\nSophomore Status') else: # this mean userCredit >= 26...

Explanation:

A certain university classifies students according to credits earned. A student with less than 30 hours is a Freshman. At least 30 credits are required to be a Sophomore, 60 to be a Junior, and 90 to be a Senior. Write a program that calculates class standing from the number of credits earned with the following specifications:

Write a function named determineStatus() that prompts the user for how many credits they have earned and uses a decision structure (if, else, etc.) to determine the class standing of the student. The function should display the standing to the student (85 points).

If the user tries to enter a negative value, the program should alert the user that negative numbers are not allowed (5 points).

Write a main() function that calls the determineStatus() function (5 points).

Please I need ASAP
What is the intersection of a column and a row on a worksheet called?
Column
Value
O Address
Cell

Answers

Answer:

Cell

Explanation:

A cell is the intersection of a row and a column—in other words, where a row and column meet.

¿Como se adaptan a un proceso productivo relacionado con el taller de actividad tecnología que cursas?

Answers

Abcdefghijklmopqrstuvwxyz

state 5 uses of glass​

Answers

Answer:

Kitchenware

Eyeglasses and lenses

Electronic Screens tv

Microscopes for magnification

Lights and bulbs

Storage of specimens, harsh chemicals

Automotive

Housing, furniture, and decoration

Laboratory handling

Communication optic cables.

hope it helps

Means having a current knowledge and understanding of computer mobile devices the web and related technologies

Answers

Answer:

"Digital literacy" would be the appropriate solution.

Explanation:

Capable of navigating and understanding, evaluating as well as communicating on several digital channels, is determined as a Digital literacy.Throughout the same way, as media literacy requires the capability to recognize as well as appropriately construct publicity, digital literacy encompasses even ethical including socially responsible abilities.

Can someone tell me how can you give brainliest to ppl

Answers

hey!

When two users given an answer to the question (to your asked question),then you can see a crown symbol written as mark as brainliest . Click on it and mark.

Answer:

Basically, wait for 2 people to answer.

Explanation:

Then after 2 people answers, there will be a crown on both answers.

Then, you can click that crown to whoever you think the best answer is.

I hope this helps!

Surrendering to digital distractions will likely result in better grades true or false

Answers

Answer:

False

Explanation:

Being distracted isn't gonna result in better grades

Statistics are often calculated with varying amounts of input data. Write a program that takes any number of non-negative integers as input, and outpu

Answers

Answer:

Explanation:

The following program is written in Java and is a function that asks the user for an input and keeps doing so until a negative value is entered, in which case it calculates the average and max values and prints it to the screen.

public static void average () {

                       int num;

                       int sum = 0;

                       Scanner in = new Scanner(System.in);

                       System.out.println("Enter Number");

                       num = in.nextInt();

                       int count = 0;

                       int max = 0;

                       while(num >= 0)

                       {

                               sum+=num;

                               System.out.println("Enter Number");

                               num = in.nextInt();

                               count++;

                               if(num>=max){

                                       max = num;

                               }

                       }

               System.out.println(sum/count);

               System.out.println(max);

               }

Answer:hi

Explanation:

Which behavior demonstrates courtesy toward others in the workplace?
working long hours to complete a work assignment
solving complex technical problems to get a project schedule back on track
asking a coworker about his or her annual review results
consulting with a coworker before intervening in one of his or her projects

Answers

The correct option is (d) consulting with a coworker before intervening in one of his or her projects.

It involves showing respect, consideration, and sensitivity toward others in your interactions, whether through words, actions, or attitudes.

Consulting with a coworker before intervening in their project is one way to demonstrate courtesy, but there are many other examples, such as listening actively, expressing gratitude, being punctual, using appropriate language, and avoiding gossip or negative comments.

This behavior shows that you value your coworker's input and respect their work, and are willing to work collaboratively rather than imposing your own ideas or solutions.

It also helps avoid potential conflicts or misunderstandings that could arise if you were to make changes to someone else's project without first discussing it with them.

Working long hours, solving complex technical problems, and asking about annual review results can all be positive behaviors, but they may not necessarily demonstrate courtesy toward others in the same way as consulting with a coworker.

The right answer is (d) consulting with a coworker before intervening in one of his or her projects.

For more questions on workplace courtesy, visit:

https://brainly.com/question/14962825

#SPJ11

Given the string, s, and the list, lst, associate the variable contains with True if every string in lst appears in s (and False otherwise). Thus, given the string Hello world and the list ["H", "wor", "o w"], contains would be associated with True.

Answers

In this exercise we have to use the knowledge of computational language in python  to write a code that the string, s, and the list, lst, associate the variable contains with True if every string in lst appears in s (and False otherwise)

Writting the code:

lst = ["H", "wor", "o w"]

s = "Hello world"

contains = True

for e in lst:

if not e in s:

contains = False

break

print(contains)

We used the print() function to output a line of text. The phrase “Hello, World!” is a string, and a string is a sequence of characters. Even a single character is considered a string.

See more about python at brainly.com/question/18502436

#SPJ1

Given the string, s, and the list, lst, associate the variable contains with True if every string in

Write a statement that calls the recursive method backwardsAlphabet() with parameter startingLetter.
import java.util.Scanner; public class RecursiveCalls { public static void backwardsAlphabet(char currLetter) { if (currLetter == 'a') { System.out.println(currLetter); } else { System.out.print(currLetter + " "); backwardsAlphabet((char)(currLetter - 1)); } } public static void main (String [] args) { Scanner scnr = new Scanner(System.in); char startingLetter; startingLetter = scnr.next().charAt(0); /* Your solution goes here */ } }

Answers

Answer:

Following are the code to method calling

backwardsAlphabet(startingLetter); //calling method backwardsAlphabet

Output:

please find the attachment.

Explanation:

Working of program:

In the given java code, a class "RecursiveCalls" is declared, inside the class, a method that is "backwardsAlphabet" is defined, this method accepts a char parameter that is "currLetter". In this method a conditional statement is used, if the block it will check input parameter value is 'a', then it will print value, otherwise, it will go to else section in this block it will use the recursive function that prints it's before value. In the main method, first, we create the scanner class object then defined a char variable "startingLetter", in this we input from the user and pass its value into the method that is "backwardsAlphabet".
Write a statement that calls the recursive method backwardsAlphabet() with parameter startingLetter.

can you guys plz answeer this i need help rrly bad and plz no viruses or links or answers that have nun to do with this

Answers

Answer:

You literally posted a download it’s too risky.

Explanation:

PLEASE HELP ME FIX THIS CODE.

I WANT IT TO HAVE USER INPUT TO CHANGE AND IMAGE FILTER TO BLUE RED OR GREEN.


user_color = input("What color would you like to paint the canvas, blue, red or green?:")



def user_red(pixel):
pixel[0] = 100 + pixel[0]
pixel[1] = 100 - pixel[1]
pixel[2] = 100 - pixel[2]

return pixel

def user_green(pixel):
pixel[0] = 100 + pixel[0]
pixel[1] = 100 - pixel[1]
pixel[2] = 100 - pixel[2]

return pixel

def user_blue(pixel):
pixel[0] = 100 + pixel[0]
pixel[1] = 100 - pixel[1]
pixel[2] = 100 - pixel[2]

return pixel


def custom_filter(image, user_color):
for x in range(image.get_width()):
for y in range(image.get_height()):
pixel = image.get_pixel(x,y)
new_colors = invert_pixel(pixel)
image.set_red(x, y, new_colors[0])
image.set_green(x, y, new_colors[1])
image.set_blue(x, y, new_colors[2])



return image


def change_image():
global image
image = custom_filter(image, user_color)



timer.set_timeout(change_image, IMAGE_LOAD_TIME)

Answers

PLEASE HELP ME FIX THIS CODE.

I WANT IT TO HAVE USER INPUT TO CHANGE AND IMAGE FILTER TO BLUE RED OR GREEN.

user_color = input("What color would you like to paint the canvas, blue, red or green?:")

def user_red(pixel):

pixel[0] = 100 + pixel[0]

pixel[1] = 100 - pixel[1]

pixel[2] = 100 - pixel[2]

return pixel

def user_green(pixel):

pixel[0] = 100 + pixel[0]

pixel[1] = 100 - pixel[1]

pixel[2] = 100 - pixel[2]

return pixel

def user_blue(pixel):

pixel[0] = 100 + pixel[0]

pixel[1] = 100 - pixel[1]

pixel[2] = 100 - pixel[2]

return pixel

def custom_filter(image, user_color):

for x in range(image.get_width()):

for y in range(image.get_height()):

pixel = image.get_pixel(x,y)

new_colors = invert_pixel(pixel)

image.set_red(x, y, new_colors[0])

image.set_green(x, y, new_colors[1])

image.set_blue(x, y, new_colors[2])

return image

def change_image():

global image

image = custom_filter(image, user_color)

timer.set_timeout(change_image, IMAGE_LOAD_TIME)

Give short introduction of profession and make a list of its types. ​

Answers

are you asking for a list of professional jobs or?…..

: "I have a customer who is very taciturn."

: "I have a customer who is very taciturn."

Answers

The client typically communicates in a reserved or silent manner

B. He won't speak with you.

Why are some customers taciturn?

People who are taciturn communicate less and more concisely. These individuals do not value verbosity. Many of them may also be introverts, but I lack the scientific evidence to support that assertion, so I won't make any inferences or make conclusions of that nature.

The phrase itself alludes to the characteristic of reticence, of coming out as distant and uncommunicative. A taciturn individual may be bashful, naturally reserved, or snooty.

Learn more about taciturn people here:

https://brainly.com/question/30094511

#SPJ1

Very large storage system that protects data by constantly making backup copies of files moving across an organization's network is known as ...

Answers

Answer:

RAID is a data storage virtualization technology that combines multiple physical disk drive components into one or more logical units for the purposes of data redundancy, performance improvement, or both.

Explanation:

RAID is a data storage virtualization technology that combines multiple physical disk drive components into one or more logical units for the purposes of data redundancy, performance improvement, or both.

What is File system failure?

File system failure refers to disk-related errors that may be due to corrupt files,  disk integrity corruption, file execution policies, bad sectors, etc. These errors may prevent be causing users from accessing or opening files. The first line of defense against a file system failure is a well-defined set of proper system backup and file maintenance procedures.

These errors can be encountered in files such as images, documents, PDFs, movies, etc. In order to protect and provide defense against file system failure, it is important to manage proper backup and file maintenance procedures.

Therefore, RAID is a data storage virtualization technology that combines multiple physical disk drive components into one or more logical units for the purposes of data redundancy, performance improvement, or both.

You can learn more about file system at:

brainly.com/question/14312784

#SPJ2

In Java, a char variable is capable of storing any Unicode character. Write a statement that assigns the Greek letter ^ to a char variable named greekLetter

Answers

Answer:

public class Main

{

public static void main(String[] args) {

    char greekLetter = '^';

    System.out.println(greekLetter);

}

}

Explanation:

Create a char variable called greekLetter and set it to the ^

Print the greekLetter to the screen

Hello I take computer science and i just wanted to know if somone could do this and explain to me how. thank you!

(100 points)

Hello I take computer science and i just wanted to know if somone could do this and explain to me how.

Answers

Answer:

We are provided with three sets of assembly language instructions, and for each set, we need to understand the order in which memory addresses and contents are accessed.

Diagram A:

LDD 106

This instruction means "Load Direct to the accumulator from address 106." The accumulator is a special register in the processor used to hold data for arithmetic or logical operations. In this case, the value stored at memory address 106 (which is 114) will be loaded into the accumulator.

Diagram B:

LDI 104

This instruction means "Load Indirect to the index register from address 104." The index register is another special register in the processor, typically used for memory addressing calculations. Here, the value stored at memory address 104 (which is 100) will be loaded into the index register.

Diagram C:

LDR #3

This instruction means "Load immediate value 3 into the accumulator." Instead of accessing memory, this instruction loads an immediate value (in this case, 3) directly into the accumulator.

LDX 101

This instruction means "Load Direct to the index register from address 101." The value stored at memory address 101 (which is 104) will be loaded into the index register.

To summarize, each diagram represents a different set of assembly language instructions, and the memory addresses and contents accessed are as follows:

Diagram A:

Address 106: Content 114 (loaded into the accumulator)

Diagram B:

Address 104: Content 100 (loaded into the index register)

Diagram C:

No memory address accessed for LDR #3 (immediate value 3 loaded into the accumulator)

Address 101: Content 104 (loaded into the index register)

I hope my explanation has made it easier for you to comprehend these assembly language instructions and the memory accesses they need.

Consider the following code:
val = 50
def example():
val = 15
print (val)
print (val)
example)
print (val)
What is output?
1.
2.
3.

Answers

I got you bro the answer is 50, 15, 5

Prior to class, for each of the 7 learning techniques discussed by the "Common learning techniques"
reading, determine which two of the learning principles (summarized by Kosslyn 2017) you believe
explain why that learning technique does or does not work well. Provide a brief rationale for how the
principles you identify might be applicable. Note: Different sets of principles often will be evoked for
the different learning techniques. For example, Practice Testing might work primarily because of the
Generation Effect and Deliberate Practice (if one receives feedback about one's performance on the
tes

Answers

The learning principles (summarized by Kosslyn 2017) is that know that the the condition such as communicating is one that can easily be said to be automatic and also Make use of associations.

What is the principles of learning?

Some of the the vital and important principles of learning are:

Learning difficulty is as a result of a lot of factors within the learner himself. Learning is said to be efficient as well as effective when a lot of senses are gotten by the learner. .Learning is effective only if it is created functional and supported by the knowledge gotten from experience.

Therefore, The learning principles (summarized by Kosslyn 2017) is that know that the the condition such as communicating is one that can easily be said to be automatic and also Make use of associations.

Learn more about learning principles from

https://brainly.com/question/26117248

#SPJ1

Prior to class, for each of the 7 learning techniques discussed by the "Common learning techniques" reading, the two learning principles that explain why the learning technique works well are given below.1

Elaboration and Practice Testing are the two principles that work well for Practice Test a brief rationaleing.Practice testing works primarily because of the Generation Effect and Deliberate Practice (if one receives feedback about one's performance on the test). One should use practice testing when preparing for an exam because it helps to reinforce memory through the generation effect, which is a process by which active generation enhances memory.Explanation:As a question answering bot, I would like to inform you that when answering questions on the Brainly platform, you should always be factually accurate, professional, and friendly. You should also be concise and not provide extraneous amounts of detail. Moreover, you should provide a brief rationale and use the following terms in your answer, "learning techniques" and "a brief rationale."

Read more about  techniques here :https://brainly.com/question/26439172

#SPJ11

2. Write a C program that generates following outputs. Each of the

outputs are nothing but 2-dimensional arrays, where ‘*’ represents

any random number. For all the problems below, you must use for

loops to initialize, insert and print the array elements as and where

needed. Hard-coded initialization/printing of arrays will receive a 0

grade. (5 + 5 + 5 = 15 Points)

i)

* 0 0 0

* * 0 0

* * * 0

* * * *

ii)

* * * *

0 * * *

0 0 * *

0 0 0 *

iii)

* 0 0 0

0 * 0 0

0 0 * 0

0 0 0 *

2. Write a C program that generates following outputs. Each of the outputs are nothing but 2-dimensional

Answers

Answer:

#include <stdio.h>

int main(void)

{

int arr1[4][4];

int a;

printf("Enter a number:\n");

scanf("%d", &a);

for (int i=0; i<4; i++)

{

for(int j=0; j<4; j++)

{

 if(j<=i)

 {

  arr1[i][j]=a;

 }

 else

 {

  arr1[i][j]=0;

 }

}

}

for(int i=0; i<4; i++)

{

for(int j=0; j<4; j++)

{

 printf("%d", arr1[i][j]);

}

printf("\n");

}

printf("\n");

int arr2[4][4];

int b;

printf("Enter a number:\n");

scanf("%d", &b);

for (int i=0; i<4; i++)

{

 for(int j=0; j<4; j++)

 {

  if(j>=i)

  {

   arr1[i][j]=b;

  }

  else

  {

   arr1[i][j]=0;

  }

 }

}

for(int i=0; i<4; i++)

{

 for(int j=0; j<4; j++)

 {

  printf("%d", arr1[i][j]);

 }

 printf("\n");

}

printf("\n");

int arr3[4][4];

int c;

printf("Enter a number:\n");

scanf("%d", &c);

for (int i=0; i<4; i++)

{

 for(int j=0; j<4; j++)

 {

  if(j!=i)

  {

   arr1[i][j]=c;

  }

  else

  {

   arr1[i][j]=0;

  }

 }

}

for(int i=0; i<4; i++)

{

 for(int j=0; j<4; j++)

 {

  printf("%d", arr1[i][j]);

 }

 printf("\n");

}

printf("\n");

return 0;

}

Explanation:

arr1[][] is for i

arr2[][] is for ii

arr3[][] is for iii

2. Write a C program that generates following outputs. Each of the outputs are nothing but 2-dimensional
2. Write a C program that generates following outputs. Each of the outputs are nothing but 2-dimensional

Timothy is an architect. He needs to create a prototype of a new apartment that his firm is building. Which multimedia software would he use? A. image editing program B. painting program C. animation program D. digital video program E. 3D modeling program

Answers

E. 3D modeling program! This will always been used for architectural designing, a software example would be Archicad.

Determine the distance between point (x1, y1) and point (x2, y2), and assign the result to points Distance. The calculation is:

Distance = √((x^2-x^1)^2 + (y^2 - y^1)^2)

You may declare additional variables.

Answers

Question:

Snapshot of the question has been attached to this response.

Answer:

import java.util.Scanner;

import java.lang.Math;

public class CoordinateGeometry{

    public static void main(String []args){

       double x1 = 1.0;

       double y1 = 2.0;

       double x2 = 1.0;

       double y2 = 5.0;

       double pointsDistance = 0.0;

       

       //Declare a variable to hold the result of (x2 - x1)²

       double x;

       

       //Solve (x2 - x1)^2 and store result in the variable x

       x = Math.pow(x2 - x1, 2);

       

       //Declare a variable to hold the result of (y2 - y1)²

       double y;

       

       //Solve (y2 - y1)^2 and store result in the variable y

       y = Math.pow(y2 - y1, 2);

       

       //Now pointsDistance = SquareRootOf(x + y)

       pointsDistance = Math.sqrt(x + y);

       

       System.out.println("Points distance: ");

       System.out.println(pointsDistance);

       

       return;

    }

}

Sample Output:

Points distance:  

3.0

Explanation:

The above code has been written in Java and it contains comments explaining important lines of the code. Please go through the comments.

The snapshots of the program and a sample output have been attached to this response.

Determine the distance between point (x1, y1) and point (x2, y2), and assign the result to points Distance.
Determine the distance between point (x1, y1) and point (x2, y2), and assign the result to points Distance.
Determine the distance between point (x1, y1) and point (x2, y2), and assign the result to points Distance.

some context free languages are undecidable

Answers

yess they are and have been for awhile although they’re already

Alejandro wants to post an animation on his social media page that shows a series of slightly different images displayed in sequence. What type of animation should he select?

A.) Animated gif
B.) HTML 5
C.) Adobe Flash
D.) Adobe animate cc

Answers

Answer:

Adobe Flash

Explanation:

From the list of given options, Adobe Flash answers the question.

Adobe Flash are basically multimedia animations that are created to include numerous images which are displayed in sequence.

Other options such as Adobe animation cc is a software used to create flash animations, html5 is a web language, animated GIF are short animations.

The type of animation he  should select is A.) Animated gif

Animated gif are picture which are in Graphic interchange format (GIF) .

Animated gif  are very easy to download because they download quickly.

Animated gif are picture that always move non stop when displayed  on a computer screen or other device as the picture changes from one picture to another picture.

They can always be found on the internet and they are mostly used as an advertisement pictures that is embedded on web pages which help to showcase a company product.

Inconclusion The type of animation he  should select is A.) Animated gif.

Learn more about Animated gif here:

 https://brainly.com/question/15057611

In this lab, you use what you have learned about searching an array to find an exact match to complete a partially prewritten C program. The program uses an array that contains valid names for 10 cities in Michigan. You ask the user to enter a city name; your program then searches the array for that city name. If it is not found, the program should print a message that informs the user the city name is not found in the list of valid cities in Michigan. The file provided for this lab includes the input statements and the necessary variable declarations. You need to use a loop to examine all the items in the array and test for a match. You also need to set a flag if there is a match and then test the flag variable to determine if you should print the the Not a city in Michigan. message. Comments in the code tell you where to write your statements. You can use the previous Mail Order program as a guide. Instructions Ensure the provided code file named MichiganCities.cpp is open. Study the prewritten code to make sure you understand it. Write a loop statement that examines the names of cities stored in the array. Write code that tests for a match. Write code that, when appropriate, prints the message Not a city in Michigan.. Execute the program by clicking the Run button at the bottom of the screen. Use the following as input: Chicago Brooklyn Watervliet Acme

Answers

Answer:

Complete the program as follows:

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

     if(inCity == citiesInMichigan[i]){

         foundIt = true;

         break;       }    }

   if(foundIt){         cout<<"It is a city";     }

   else{         cout<<"Not a city";     }

Explanation:

Required

Complete the pre-written code in C++ (as indicated by the file name)

The pre-written code; though missing in this question, can be found online.

The explanation of the added lines of code is as follows:

This iterates through the array

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

This checks if the city exists in the array

     if(inCity == citiesInMichigan[i]){

If yes, foundIt is updated to true

         foundIt = true;

And the loop is exited

         break;       }    } -- The loop ends here

If foundIt is true, print it is a city

   if(foundIt){         cout<<"It is a city";     }

Print not a city, if otherwise

   else{         cout<<"Not a city";     }

// MichiganCities.cpp - This program prints a message for invalid cities in Michigan.// Input: Interactive// Output: Error message or nothing#include <iostream>#include <string>using namespace std;int main(){ // Declare variables string inCity; // name of city to look up in array const int NUM_CITIES = 10; // Initialized array of cities string citiesInMichigan[] = {"Acme", "Albion", "Detroit", "Watervliet", "Coloma", "Saginaw", "Richland", "Glenn", "Midland", "Brooklyn"}; bool foundIt = false; // Flag variable int x; // Loop control variable // Get user input cout << "Enter name of city: "; cin >> inCity; // Write your loop here for (x = 0; x < NUM_CITIES; x++) { // Write your test statement here to see if there is // a match. Set the flag to true if city is found. if (inCity == citiesInMichigan[x]) { foundIt = true; cout << "City found." << endl; break; } else { foundIt = false; } } // Test to see if city was not found to determine if // "Not a city in Michigan" message should be printed. if (!foundIt) { cout << "Not a city in Michigan." << endl; } return 0; } // End of main()

Other Questions
PLEASE HELP IM TIMED How many accented syllables are in the following line? Reaching upward now. O three O four O five What does the phrase "greater freedom of movement" mean with water? Question 4 > What is a cost center in a software company? O Marketing O Sales O IT Business Development De que manera ilustra el uso de la irona?(Los yacars) With the use of examples, discuss what strides have been made by feminist movements in contemporary south africa in achieving their objectives. what is computers[tex]what is computere[/tex] help please1. Covalent Bonds are formed when atoms A. Give ElectronsB. Share ElectronsC. Take Electrons What is most likely the reason the writer uses a problem solution text structure in this passage? The animal shelter on West End Avenue is located next door to the Pinetown Library. The town has been receiving an average of six complaint calls each day because people are upset about the noise of barking dogs coming from the animal shelter. Mayor Jennings has decided to put up a wall between the two buildings. The wall will be made of a material that reduces noise by 50%. However, if the wall does not reduce the amount of noise, the shelter may have to be moved to a new location.A. to force one of the two organizations to move.B. to explain that the town has been receiving complaintsC. to inform people that the mayor is aware of the problem D. to show that the problem of noise from the animal shelter is being resolved Kindred invested $38,976 into his first company. His investment decreased by 3. 5% each year over the first 3 years. Which exponential decay modle could kindred use ti determin the amount this investment will be worth if it continues to decrease at the same rate? Parallelogram F C D E is shown. Sides D C and F E are parallel, and sides F C and E D are parallel. The length of C D is 4 r + 19, the length of D E is 8 r + 3, and the length of F C is 9 r minus 6.What is the value of r?What is the length of segment EF? units 9. What force is felt on a person when they 'free-fall down a large rollercoaster hill? Show your work on this I will mark as brainliest as well What is subduction, and which type of rock subducts? f(x) = x ^ 2 What is g(x)? help me with this please nine of the 12 jurors agree that a defendant is guilty, so the defendant is convicted. based on this information, where was this trial held? Need help as soon as possible. specify whether each of the items listed is hydrophilic or hydrophobic by dragging the labels into the appropriate box. If you start with 1.00g of nacl and an excess of the other reactants, how many grams of cl2 will be produced? PLSS QUICKIn the sentence below, are you using the denotative or the connotative meaning of the word cool:Bob was the coolest kid in school