pasted by

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
string foo(int x, bool yes, string str, int y)
{
   string ret;
   int temp;

   if( yes ) {
      x = y * x - 2 * y + 10 / 2;
      yes = false;
      write "yes sire!";
      ret = "yess";
   }
   if (x == y) {
      x = y * 300;
      write "x is equal y";
      ret = "equality rocks";
   }
   else {
      temp = x;
      x = y;
      y = temp;
      ret = "x and y is not equal so i return this sentence.";
   }

   return ret;
}
void bar()
{
   string input;
   string str;

   write "Write something!";
   read input;

   str = foo(3, true, "tjong", 3);
   write str;
   str = foo(33, false, "tjong2", 3);
   write str;

}
void trac42()
{
   bar();
}