This commit is contained in:
Kagura 2024-10-30 13:16:08 +08:00
parent 9c75f37409
commit 30f3c67e32
2 changed files with 12 additions and 0 deletions

View file

@ -1,6 +1,7 @@
int main(){
int a = 0,b=1;
int k = add(a,b);
int j = munis(a,k);
print(k)
}
@ -8,3 +9,10 @@ int add(int a, int b){
int c = a+b;
return c;
}
short munis(int a,int b){
int l = a;
int f = b;
int k = l - f;
return k;
}

View file

@ -60,6 +60,10 @@ class SourceFile {
.toString()
.replace(";;",";")
.replace(";",";\n")
.replace("{","{\n")
.replace("}","}\n")
.replace(" =","=")
.replace("= ","=")
}
}