write an expression taht evaluated to true if and only if the variable s does not contain the string 'end'

Answers

Answer 1

Answer:

//check which string is greater

if(strcmp(name1,name2)>0)

//assign name1 to first, if the

    //name1 is greater than name2

    first=name1;

else

    //assign name2 to first, if the

    //name2 is greater than name1

    first=name2;

5)

//compare name1 and name2

    if(strcmp(name1,name2)>0)

   

         //compare name1 and name3

         if(strcmp(name1,name3)>0)

       

             //assign name1 to max, becuase

             //name1 is greater than name2 and name3

             max=name1;

       

Explanation:


Related Questions

Which tools exist on the 3-D Map Layer pane? Check all that apply. filter options layer options time visualization category visualization Udata layer visualization data value visualization​

Answers

Answer:

filter options

layer options

category visualization

data value visualization

Explanation:

Elan inserted shapes into a slide in his presentation. What is the quickest way to format those shapes?

it's C. Shape Styles gallery got a 100

Answers

Answer:

c. Shape Styles gallery

Explanation: is correct. post protected

1.What is the output of the following program? [10 Marks]namespace ConsoleApp1{class Program{static void Main(string[] args){int i, j;int [,] A = new int[5,5];for (i = 0; i < 5; ++i){for (j = 0; j < 4; ++j){A[i,j] = i*j;}}for (i = 0; i < 5; ++i){for (j = 0; j < 4; ++j){if (i < 5){A[j, i] = A[i, j];}elsebreak;Console.Write(A[i, j] + " ");}Console.WriteLine();}Console.ReadLine();}}}

Answers

The program outputs the following rectangular array:

0 0 0 0

0 1  2 3

0 2 4 6

0 3 6 9

0 4 8 12

This is the correctly formatted C# program:

namespace ConsoleApp1{

   class Program

   {

       static void Main(string[] args)

       {

           int i, j;    // declare index variables used to iterate over the array A

           int [,] A = new int[5,5];   // create a 5 by 5 array

           

           /* Iterate over the array with the index variables i and j

               and initialize each location A[i, j] with the product

               of i and j. */  

           for (i = 0; i < 5; ++i)

           {

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

               {

                   A[i, j] = i*j;

               }

           }

           

           /* Iterate over the array again. This time, swap locations

               A[i, j] with A[j, i] */

           for (i = 0; i < 5; ++i)

           {

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

               {

                   if (i < 5)

                   {

                       A[j, i] = A[i, j];

                   }

                   else

                       break;

                   

                   // display the current location A[i, j]

                   Console.Write(A[i, j] + " ");

                   

               }

               /* print a newline to prepare for the next line of printing

                   which corresponds to the next column i */

               Console.WriteLine();

                // pause and wait for user keypress before continuing

               Console.ReadLine();

               

               }

           }

       }

   }

When executed, this program simply prints a rectangular array like so;

0 0 0 0

0 1  2 3

0 2 4 6

0 3 6 9

0 4 8 12

Learn more about predicting program output here: https://brainly.com/question/20259194

One of the difficult things about working in game design is that while there are many different roles, most of them only match one specific personality type.
True
False

Answers

Answer:

it's false

Explanation:

they don't match to personalities

What genre of games involves gameplay that is designed to simulate real-world or fictionalized activites such as flying a plane or managing a city and often requires resource management?

Simulation games
Puzzle games
Adventure games
Strategy games

Answers

Answer:

simulation games

Explanation:

Simulation games are a broad category of games where gameplay is designed to simulate real-world or fictionalized activities and often require resource management skills.

Answer:

Simulation games

Explanation:

the use of technology to observe a user's actions often without the user's knowledge is known as:
A) Unauthorized access
B) Industrial espionage
C) Computer surveillance
D) Denial-of-service attack

Answers

Answer:

C

Explanation:

Computer surveillance refers to spying that allows the viewer to gain access of all activity on the given computer.

5.23 LAB: Contains the character
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. For coding simplicity, follow each output word by a comma, even the last one. Add a newline to the end of the last output. 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'.

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++;

      }

}  

1. The NetworkManager or Systemd Networkd components must be installed on a Linux system in order to configure an IP address on a network interface. True or False

Answers

The NetworkManager or Systemd Networkd components must be installed on a Linux system in order to configure an IP address on a network interface: False.

An IP address is an abbreviation for Internet protocol address and it refers to a unique number that is assigned to a computing device or network device, so as to differentiate each computing device from one another in an active network system.

This ultimately implies that, an IP address is typically designed and developed to uniquely identify each computing device or network device that is connected to the Internet or an active network system.

Note: NetworkManager (GUI tool) are configured on desktop computers only while Systemd Networkd are typically configured on servers.

For a Linux system, you don't have to install the NetworkManager or Systemd Networkd before configuring an IP address on a network interface.

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

When it is being used to make a telephone call, your smartphone is an example of which part of the communication process

Answers

In the communication process, when your smartphone is being used to make a telephone call, your smartphone is an example of a: medium.

Communication refers to a process which involves the transfer of a message (information) from an individual (sender) to another (receiver), through the use of semiotics, symbols and signs that are mutually understood by both the sender and the receiver.

The Sender Message Channel Receiver (SMCR) model of communication is composed of four (4) main components and these are;

Sender (S).Channel (C) or Medium.Message (M).Receiver (R).

In the communication process, a smartphone which is being used to make a telephone call is an example of a medium or channel because it provides the pathway for the transmission of a message (information) from an individual (sender) to another (receiver).

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

3 out of 5 citizens were eligible to vote 180 actually voted

Answers

Answer:

What is the question.

Explanation:

Answers:

Either 108/180

or 180/300

Depending on question since I dont know what ur asking

from which Menu option you can change page setup in MS Word​

Answers

page layout tab or the page setup dialog box

the pathway through which an electric signal moved between devices is known as what?

Answers

The answer would be electric Circuit or just circuit!

I am malala how one girl stood up for education and changed the world pdf.

Answers

Answer:

what?

Explanation:

Systems management involves allocation of computer resources to keep all processes operating smoothly and at maximum efficiency. What aspects of computing do systems management tools handle? Which ones do you think are the most important? Why?

Answers

Answer:operating system (OS), program that manages a computer's resources, especially the allocation of those resources among other programs. Typical resources include the central processing unit (CPU), computer memory, file storage, input/output (I/O) devices, and network connections.

Explanation:

The important systems management tools are:

Resource Allocation

Performance Monitoring

Software Deployment and Updates

Backup and Recovery

Remote Management

Inventory and Asset Management

Given data:

Systems management tools handle a variety of aspects in computing to ensure the smooth and efficient operation of computer systems. Some of the key aspects that systems management tools handle include:

Resource Allocation: These tools manage the allocation of hardware resources such as CPU usage, memory, and storage to different processes and applications. They prioritize resource distribution to ensure optimal performance.

Performance Monitoring: Systems management tools monitor the performance of various components and processes, tracking metrics like CPU usage, memory utilization, network traffic, and disk activity. This helps identify bottlenecks and areas for optimization.

Software Deployment and Updates: They facilitate the installation, deployment, and updating of software applications and patches across multiple devices or servers in a network.

Backup and Recovery: Systems management tools handle data backup, disaster recovery, and data restoration to prevent data loss and ensure business continuity.

Remote Management: Many tools enable administrators to manage and troubleshoot systems remotely, reducing the need for physical presence and minimizing downtime.

Inventory and Asset Management: These tools track hardware and software assets, helping organizations maintain an accurate inventory and plan for upgrades or replacements.

To learn more about system management tools, refer:

https://brainly.com/question/29713596

#SPJ3

Need help with 3.2 lesson practice questions (edhesive)​

Answers

Answer:

Doesn't have a question

Explanation:

THANK YOUU

I need help with this question

What is the “digital divide”?

A. the gap between people who are very skilled using the Internet and people who are less skilled.

B. the gap between the time before Smartphones debuted and the time they became widely used.

C. the gap between people who have readily available Internet access and people who do not.

D. the gap between the time before the Internet debuted and the time it became popular.

Answers

Answer:

C IS YOUR ANSWERexplanation is available

Explanation:

The digital divide describes the gap between people who have access to affordable, reliable internet service (and the skills and gadgets necessary to take advantage of that access) and those who lack it. ... The Access Divide—This is the most visible digital divide.

Answer:

option c is the answer....

How to add animation to img angular.

Answers

Answer:

Step 1: Enabling the animations modulelink. ...

Step 2: Importing animation functions into component fileslink. ...

Step 3: Adding the animation metadata propertylink

5. The Shape Fill drop-down menu is used to

A b or c or d

Answers

Answer:

Change the color of the shape.

Explanation:

In the sentence, you must look at keywords, like "Fill" and "Shape".

The fact that it said shape fill means the tool would fill the inside of a shape.

Make sure to look at the definition of keywords to figure out what they mean.

Therefore, "Change the color of the shape" would be the correct answer.

-kiniwih426

Kaitlin likes a particular design theme, but she is not sure about every single color for bullets, backgrounds, etc. found in the theme. Which feature should she apply to modify the theme to her liking?

it's C. Theme variants

Answers

Answer:

c. Theme variants

Explanation: is correct. post protected

Answer:

C

Explanation:

Which term refers to actions that you would perform on a computer to revive it if it functions in an unexpected manner?

Answers

Answer:

I think that it is just rebooting

what are foundations of any game systems that control what the players can or cannot do in the game, as well as the penalties, reward, and other consequences that result from the players actions?

rules

feedback

tasks

algotithms

Answers

Answer:

A. Rules

Explanation:

Rules can determine what can be done and what cannot be done... giving it restrictions, or RULES in a video game among-st a player

Two computer programs that are carefully joined together so that they appear to be a single program with a single user interface

Answers

In Computers and technology, a seamless interface is a technology in which two (2) computer programs are joined together carefully, in order to make them appear as a single software program that has a single interface for end users.

A seamless interface can be defined as a technology in mobile cloud computing (MCC) through which two (2) computer programs are carefully meshed or joined together, so as to make them appear as a single computer program with a single interface for end users.

This ultimately implies that, a seamless interface is used in providing end users a uniform interface for two or more different computer programs.

Consequently, two or more users are able to use and enjoy a two or more different computer programs through the design and development of a seamless interface without any form of obtrusiveness.

In conclusion, a seamless interface carefully joins two (2) computer programs together, so that appear as a single software program that has a single interface for end users.

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

Specifications What are the best practices you should communicate to the Design team about the formatting of the spec book

Answers

The Spec book, describes a formatted writing which contains the major specifications and description of the building blocks of an application or process. The design process should follow formatting guidelines such as ;

Inclusion of table of content, which gives a table like format of the content in the book within the first 25 pages.

Inclusion of the Spec section number in the header and footer section of each page of the book.

Avoid including any other value with the spec section number. Hence, the spec section number must be distinctly seperated.

Learn more : https://brainly.com/question/25648287

How to combine multiple documents into one pdf.

Answers

Answer:

How to combine and merge your files into one PDF: Open Acrobat DC to combine files: Open the Tools tab and select "Combine files." Add files: Click "Add Files" and select the files you want to include in your PDF. You can merge PDFs or a mix of PDF documents and other files.

Explanation:

TCP and the User Datagram Protocol (UDP) provide _________ between processes on any two of those hosts. A. address translation B. reliable transport C. data transport D. performance enhancements

Answers

TCP is known to be a type of a connection-oriented protocol, while UDP is a connectionless protocol. TCP and UDP provide data transport between hosts.

TCP and UDP are known for their speed, as TCP is slower and can retransmit lost data packets than UDP. UDP is said to be faster, simpler, and efficient protocol.

Data transport is simply known to be an the energy problem. It is the amount of energy needed to transport a bit from the closest neighbor.

Data Transport Service gives  a reliable connection for moving large amounts of data at very fast speeds.

Learn more from

https://brainly.com/question/17695822

1.Write a C++ program that allows the user to enter the phrase "I am smart". Output the first letter and last letter of the phrase using string properties.

2.Write a C++ program to output the following values after they are loaded into an array: 67, 45, 12, 89, 46, 88 and 43.
PLS Help they are different questions

Answers

Answer:

1)

string value;

cout << "type I am smart";

cin >> value; // get user input from the keyboard

2)

int num1 = 67;

int num2 = 45;

int num3 = 12;

int num4 = 89;

int num5 = 46;

int num6 = 89;

int num7 = 46;

int num8 = 88;

int num9 = 43;

int numbers [ ] = {num1,num2,num3,num4,num5,num7,num8,num9} ;

//to load it as a function

int main ()

{

for ( n=0 ; n<5 ; n++ )

{

result += numbers[n];

}

cout << result;

return 0;

}

The C++ programs are illustrations of arrays and strings

The program 1

The program written in C++ is as follows:

#include<iostream>

using namespace std;

int main(){

   //This declares the string

   string myStr;

   //This gets the input

   cin>>myStr;

   //This prints the first and the last index elements

   cout<<myStr[0]<<" "<<myStr[myStr.length()-1];

   return 0;

}

The program 2

The program written in C++ is as follows:

#include<iostream>

using namespace std;

int main(){

   //This initializes the array

   int myArr [] = {67, 45, 12, 89, 46, 88, 43};

   //This prints the array elements

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

       cout<<myArr[i]<<" ";

   }

   return 0;

}

Read more about arrays and strings at:

https://brainly.com/question/15683939

#SPJ2

Try to crack the code:

00110111 01001010 00110011 01011001 00111001 00100000 00110010 01001100 01000010 00110110 01000101 00100000 00110110 01001000 01010001 01010011 01001010

Answers

Answer:001101110010010100011011010110010011100100100000001100100100110001000010001101100100010100100000001101100100100001010001010101001101001010

Explanation:

i copied

Select the correct answer.
Which option would you use to insert two line breaks in your document?
A.<2br>
B.

C.


D.

Answers

Answer:

yes, I agree.

Explanation: ,

Angular when to use reactiveformsmodule.

Answers

Answer:

Image result for Angular when to use reactiveformsmodule.

In summaries, if forms are very important for your app, or reactive pattern are used in your app, you should use reactive forms. Otherwise your app have basic and simple requirement for forms such as sign in, you should use template-driven forms

Explanation:

Each form has a state that can be updated by many different interactions and its up to the application developer to manage that state and prevent it from getting corrupted. This can get hard to do for very large forms and can introduce a category of potential bugs

What are the steps to complete an internet search?

Answers

Answer:

step one: open your search engine

step two: type what you wanna search for in the text box

step three: press enter

and that's it

Other Questions
Can someone please help?1st Select:A. GraniteB. BasaltC. Metamorphic RocksD. Sedimentary Rocks2nd Select:A. GraniteB. BasaltC. Metamorphic RocksD. Sedimentary Rocks After cytokinesis I of meiosis, the chromosomal makeup of each daughter cell is?a) haploid, and the chromosomes are each composed of a single chromatid b) haploid, and the chromosomes are each composed of two chromatids (which might be unique due to cross over)c) diploid, and the chromosomes are each composed of two IDENTICAL chromatidsd) haploid, and the chromosomes are each composed of two IDENTICAL chromatidse) tetraploid, and the chromosomes are each composed of two chromatids (which might be unique due to crossover)f) diploid, and the chromosomes are each composed of two chromatids (which might be unique due to cross over) Determine a series of transformations that would map Figure O onto Figure P. Campbell's, the soup manufacturer, maintains a low-level of advertising during the entire year, but Campbell's advertises heavily during the winter months when people are cold and looking for something to help warm them up. What kind of advertising strategy is Campbell's most likely using Which agency would most likely regulate satellites used for worldwide communication? the FCC NASA the CIA the SEC the most likely explanation for economies of scale is Josh, Ben and Rick have 70 marbles altogether. The ratio of the number marbles Josh has to the number of marbles Rick has is 1: 2. However, Ben has 15 marbles fewer than Rick. How many marbles does Ben have? Most water is used for irrigation and crop. What is one way to help conserve water in relation to agriculture? Where did christianity spread by 1200 ce. Questions4. Which of the following BEST describe the purpose of Fitzgeralds inclusion of the last two sentences in the excerpt on the previous page (detailing the drawbridge and the fact that the train always must stop there)? a. These details highlight the carelessness of society during the Roaring 20s. b. These details demonstrate Nicks attitude toward this new society, because he does not want to meet Toms mistress Myrtle. c. These details serve as foreshadowing for Nicks first mysterious meeting with his neighbor Gatsby at the party he attends later on. d. These details emphasize the contrast between the glamour of Long Island/NYC and the poverty of the Valley of Ashes because the train stop is a reminder of the lower class.5. At the beginning of Chapter 3, Fitzgerald spends 2 pages describing Gatsbys party preparations: Every Friday five crates of oranges and lemons arrived from a fruiterer in New Yorkevery Monday these same oranges and lemons left his back door in a pyramid of pulpless halvesAt least once a fortnight a corps of caterers came down with several hundred feet of canvas and enough colored lights to make a Christmas tree of Gatsbys enormous gardenWhich of the following BEST describes Fitzgeralds purpose in including all of this detail? a. This description demonstrates just how reckless and lawless Gatsby is, because he spends all of his money to consume alcohol with strangers every weekend. b. This description reveals Gatsbys obsession with citrus fruits and caterers, which shows how he fixates on certain items to an extreme. c. This description mirrors Gatsbys meticulous preparations and highlights the extravagance that goes into each party, demonstrating that Gatsby is clearly putting on a show. d. This description reveals shows how overwhelmed Nick is by his next door neighbor.6. Fitzgerald uses imagery and deliberate word choice to create the reckless atmosphere of Gatsbys party in Chapter 3. Which of the following pieces of textual evidence BEST contributes to this atmosphere? a. I had taken two finger-bowls of champagne, and the scene had changed before my eyes into something significant, elemental, and profound. b. ...girls were putting their heads on mens shoulders in a puppyish, convivial way, girls were swooning backward playfully into mens arms, even into groups, knowing that someone would arrest their falls c. Instead of rambling, this party had assumed a dignified homogeneity, and assumed to itself the function of representing the staid nobility of the countryside--East Egg condescending to West Egg, and carefully on guard against its spectroscopic gayety. d. The lights grow brighter as the earth lurches away from the sun, and now the orchestra is playing yellow cocktail music, and the opera of voices pitches a key higher. How do you find the null hypothesis when you have the alternative hypothesis? A manufacturer paid total factory payroll of $200,000 in cash. The journal entry for this transaction includes a: the ramp measures 20 feet long and is 5 feet from the ground what is the slope of the ramp? A spring has a spring constant of 150N/mCalculate:The mass in grams which must be hung from the spring in order to extend it by 0.1 m Which of the following are true of an advertising plan? (Check all that apply.) Multiple select question. It analyzes the marketing and advertising situation. It identifies the objectives of the advertising campaign. It indicates how a firm can determine whether the campaign was successful. It typically follows the same strategies for all campaigns. Alan drew a nice Picture Yesterday in the garden.Change to negate Please Answer! ASAP! How are earthquakes at continental plate boundaries different from earthquakes at mid-ocean ridges? solve pls brainliest Miko filled two tanks with water. The ratio of the amount of water in Tank A to Tank B is 3 : 2. The total amount of water in both tanks is 210 . How much water must Miko pour from Tank A into Tank B so that both tanks have the same amount of water?