Jump to content

Search a list of records: Difference between revisions

m
mNo edit summary
Line 3,560:
count++
if city == "Dar Es Salaam" {
if !result.contains("Index") {result += "Index of '${city}': ${count - 1} \n"}
}
if population < 5 {
if !result.contains("populationmillion") {result += "First found city of populationwith less than 5 million: ${city} \n"}
}
if city[0].ascii_str() == "A" {
if !result.contains("letter") {result += "First found citypopulation that starts with letter 'A': ${population} \n"}
}
}
Line 3,575:
{{out}}
<pre>
First found city of populationwith less than 5 million: Khartoum-Omdurman
Index of 'Dar Es Salaam': 6
First found citypopulation that starts with letter 'A': 4.58
</pre>
 
291

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.