Data update
This commit is contained in:
parent
5150844a7d
commit
4bb20c9b71
7735 changed files with 38060 additions and 199180 deletions
|
|
@ -1,9 +1,9 @@
|
|||
import system'routines;
|
||||
import extensions;
|
||||
|
||||
public program()
|
||||
public Program()
|
||||
{
|
||||
var haystack := new string[]{"Zig", "Zag", "Wally", "Ronald", "Bush", "Krusty", "Charlie", "Bush", "Bozo"};
|
||||
auto haystack := new string[]{"Zig", "Zag", "Wally", "Ronald", "Bush", "Krusty", "Charlie", "Bush", "Bozo"};
|
||||
|
||||
new string[]{"Washington", "Bush"}.forEach::(needle)
|
||||
{
|
||||
|
|
@ -11,11 +11,11 @@ public program()
|
|||
|
||||
if (index == -1)
|
||||
{
|
||||
console.printLine(needle," is not in haystack")
|
||||
Console.printLine(needle," is not in haystack")
|
||||
}
|
||||
else
|
||||
{
|
||||
console.printLine(needle, " - ", index)
|
||||
Console.printLine(needle, " - ", index)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue