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
ch4aika [34]
3 years ago
10

Before using a string in a comparison, you can use either the To Upper method or the To Lower method to convert the string to up

per case or lower case, respectively, and then use the converted string in the comparison.1. True2. False
Physics
1 answer:
Burka [1]3 years ago
5 0

Answer:

True

Explanation:

If there's no preference over the string case (upper case or lower case), one can convert both strings to upper case or to lowercase and then compare the converted strings to test if they're equal or not.

An Illustration is

string a = "Boy"

string b = 'bOy"

if(a.ToUpper() == b.ToUpper() || a.ToLower() == b.ToLower())

{

Print "Equal Strings"

}

else

{

Print "Strings are not equal";

}

The above will first convert both strings and then compare.

Since they are the same (after conversion), the statement "Equal Strings" will be printed, without the quotes

You might be interested in
The pressure and temperature at the beginning of compression of an air-standard Diesel cycle are 95 kPa and 300 K, respectively.
Liula [17]

Answer:

A.33.01

B.2.081

C.66%

Explanation:

See attached file pls

4 0
3 years ago
Hãy kể tên, kí hiệu, đơn vị một số đại lượng Vật Lý mà em đã học ở lớp 10, 11?
wariber [46]
I’m not Vietnamese but I think your asking for this, for people who understand Vietnamese pls help them :d

7 0
2 years ago
as the trait is dominant and controlled by a single gene,the mutation must have occurred on both diploid copies. true or false?
GenaCL600 [577]

Answer:

False

Explanation:

A dominant trait is a trait that is inherited from parents. It is a trait that is obtained from a particular copy or type of a gene that overshadows or overwhelms the effects of another type or copy of that gene. Dominant traits are controlled by a single gene.

Therefore , as the trait is dominant and controlled by a single gene,the mutation must have occurred on both diploid copies is a false statement.

5 0
3 years ago
What is a statement that’s summarizes a pattern found in nature
sergey [27]

The answer to your question is,

A scientific law.

-Mabel <3

5 0
2 years ago
Read 2 more answers
Two cars are moving with velocities 70km/hr and 50km/hr in east and west direction respectively.
viva [34]

Answer:

70 + 50 = 120 km/hr

Explanation:

The driver of either car would see the other car approaching or departing at 120 kph

5 0
2 years ago
Other questions:
  • Which unit of speed will you use to express the speed of the following. 1. Aeroplane. 2.tortoise. 3.ant 4.horse​
    13·1 answer
  • WILL GIVE BRAINLIEST.
    7·1 answer
  • The volume of a gas is 200.0 mL at 275 K and 92.1 kPa. Find its volume at STP.
    5·1 answer
  • At what vertical velocity should no object be launched at in order to achieve a height of 20m?​
    12·1 answer
  • A flea jumps by exerting a force of 1.09 ✕ 10−5 N straight down on the ground. A breeze blowing on the flea parallel to the grou
    7·1 answer
  • A man claims that he can hold onto a 13.0-kg child in a head-on collision as long as he has his seat belt on. Consider this man
    9·1 answer
  • An impulse always produces a change in <br> A. momentum<br> B. speed <br> C. direction<br> D. force
    15·2 answers
  • A ball encounters no air resistance when thrown into the air with 100 J of kinetic energy, which is transformed to gravitational
    11·2 answers
  • The response of an object to the gravity is called ____
    8·1 answer
  • How do u find the number of electronic
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!