1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
kkurt [141]
3 years ago
12

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

Computers and Technology
1 answer:
natima [27]3 years ago
7 0

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:

You might be interested in
Write regular expressions for the following languages:
Leno4ka [110]

Answer:

a) ^.{9}[0][0-1]*$

b) (?=.*^[0-1]*$)(?=.*^(?!.*00(.*00))).*

Explanation:

You can check the expression with the code in python, please see the image with the expressions evaluated for different cases.

a) First, we check if the position number 10 contains a zero by using the expression .{9}[0] and then we check that the input contains just numbers from zero to one (binary numbers) by using [0-1]

b) To understand this expression we need to know that  ?=.* helps us evaluate two different expression and if one of the two is false the result is false (and gate), the first expression to be evaluated is [0-1] an it checks that the input contains just numbers from zero to one, the second expression 00(.*00) checks that there is not more than one pair of zeros.

6 0
4 years ago
10 points giveaway!!!!!!!!!!!!!!!!
AlekseyPX

Answer:

k

Explanation:

4 0
3 years ago
Read 2 more answers
Given that Marcy worked 42 hours (Hours = 42) last week and earns $10.00 an hour (Rate = 10), how much did Marcy earn last week,
serg [7]

Answer: $420

Explanation: from the question above, mercy worked 42 hours at $10 an hour. Her total pay before tax is: 42 x 10 =

$420

5 0
4 years ago
I was wondering how to give a person a Brainliest answer. Could someone please explain to me the steps on to giving someone a Br
alina1380 [7]
When more than 1 person gives an answer to your question, you receive the option to tick the one you think is more well-explained or thought out in order to make that the Brainliest Answer :)
4 0
3 years ago
Can someone help me with these questions on linear dimensions pls
andrew-mc [135]
Size dimentions reffer to overall dimentions and will tell the overall width, lenth height and depth of something location dimentions means the locatuon of each geometric shape.
7 0
3 years ago
Read 2 more answers
Other questions:
  • 8. Which of the following must a designer be aware of when planning the design of a document?
    10·1 answer
  • Why are hardline Ethernet connections always faster than WiFi?
    8·1 answer
  • Pamela finds that she is constantly spelling the word “color” as “colour” when she is typing. Even though this is how the word i
    11·1 answer
  • Which of the following payment types require you to pay upfront?
    9·1 answer
  • Usually, the same software that is used to construct and populate the database, that is, the DBMS, is also used to present ____.
    11·1 answer
  • A router is a peripheral that may need troubleshooting if the network goes down.
    12·2 answers
  • What is difference between reserved and user defined word
    9·1 answer
  • What is Data rate?<br> What is BAUD RATE?<br> What is bandwidth?
    8·1 answer
  • Is a mainframe computer portable?​
    10·1 answer
  • When you are hired to develop a system for an organization. Is it important to follow all the requests/wants of the system owner
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!