File: hello_user_function2.tiny

package info (click to toggle)
pyparsing 3.3.2-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 12,200 kB
  • sloc: python: 30,867; ansic: 422; sh: 112; makefile: 24
file content (12 lines) | stat: -rw-r--r-- 149 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
int say_hello(string name)
{
    write "Hello " + name + "!\n";
}

int main()
{
    string name;
    read name;
    say_hello(name);
    return 0;
}