Chrisis6937 Chrisis6937
  • 11-02-2018
  • Computers and Technology
contestada

Write an expression that whose value is the fifth character of the string name.

Respuesta :

roger48118
roger48118 roger48118
  • 11-02-2018
int j;
j="name"[4];
//   you   could  do
j=0;   //  since name   has four letters  the fifth  character is the terminating 0
now  if the string  name is  name
you   could do
j=name[4];  // or even    4[name] 

Answer Link

Otras preguntas

Order the values from least to greatest. 4, |7|, -1, |-3|, -4
During this past winter, Tatsu measured how many inches of snow came down after each snowfall. Her results were 8, 3, 2, 5, 10, and 2. Find the average for the
A spy is trying to escape. She must get by four guards. Each guard takes half of her remaining money. She then $64 for her plane ticket. How much money does she
Their can u please solve.
perfect square of 401​
9x+11y=-14 6x-5y=-34 Resolver por regla de cramer
which expression is equivelent to (-2)(a+6) -2a+6 2a+12 -2a-12 -2a+12
The booster club needs to raise at least $6,000 for new football uniforms. So far, they have raised $1,270. Enter an inequality to find the average amounts each
Two shapes are similar and their sides have a ratio of 2:9. What is the ratio of the surface areas for these two shapes?
(x-1) + 10 = -3(x - 2)