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]
4 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]4 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
A pyramid was built with approximately 2.3 million stone blocks, each weighing 2.4 tons (1 ton = 2,000 lbm). Find the mass of th
pogonyaev

Total weight in tons

\\ \sf\longmapsto 2.3\times 10^6\times 2.4

\\ \sf\longmapsto 5.52\times 10^6

\\ \sf\longmapsto 5520000ton

  • 1ton=1000kg

\\ \sf\longmapsto 5520000\times 1000

\\ \sf\longmapsto 5520000000kg

\\ \sf\longmapsto 5.52\times 10^9Kg

4 0
3 years ago
Read 2 more answers
While playing Quidditch you throw the quaffle straight down to the person below you at
oee [108]

Answer:

the ans will be because it has 1.672

3 0
4 years ago
How can you use ecozone in a sentence?
beks73 [17]
A large geographical region having a distinct biodiversity<span> of </span>flora<span> and </span>fauna.<span>

</span>
5 0
4 years ago
HELP ASAP PLS. ILL GIVE BRAINLIEST
Blizzard [7]

Answer:

I'm not completely sure, but I believe the first and third of the three are mechanical.

Explanation:

Chemical potential isn't moving or about to go into motion. It can't be mechanical.

4 0
3 years ago
PLEASE HELP, LOOK AT PHOTO PLZ!!!
PIT_PIT [208]

Answer:

a) 17 km

b) 9 km

Explanation:

The distance is the length of the path.

A to C: 5 km

B to C: 4 km

C to B: 4 km

B to C: 4 km

Total distance = 5 km + 4 km + 4 km + 4 km = 17 km

Displacement is the difference between the starting point and ending point.

Displacement = 9 km − 0 km = 9 km

3 0
3 years ago
Other questions:
  • A puck of mass 0.5100.510kg is attached to the end of a cord 0.827m long. The puck moves in a horizontal circle without friction
    13·1 answer
  • When considering the gas laws, the kelvin temperature scale must be used. the reason for this is that the kelvin scale is direct
    9·1 answer
  • Matter is anything that...
    11·1 answer
  • Problem
    6·1 answer
  • Human blood has a density of approximately 1.05×10'3 kg/m'3 .Use this to estimate the difference in blood pressure between the b
    9·1 answer
  • A cyclist rode at an average speed of 15mph for 30 miles how long was the ride
    15·1 answer
  • What is the final velocity of a body if it is moving with 13 m/s in 300 seconds and its acceleration is 30 m/s 2.
    13·1 answer
  • Which is a disadvantage of storing data digitally?
    12·2 answers
  • What Are the Advantages of SI unit<br><br>​
    6·1 answer
  • A 50kg mass is suspended from one end of a wire of length 4m and diameter of 3mm whose other end is fixed. What will be the elon
    13·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!