fix
This commit is contained in:
parent
9c75f37409
commit
30f3c67e32
2 changed files with 12 additions and 0 deletions
|
@ -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;
|
||||
}
|
|
@ -60,6 +60,10 @@ class SourceFile {
|
|||
.toString()
|
||||
.replace(";;",";")
|
||||
.replace(";",";\n")
|
||||
.replace("{","{\n")
|
||||
.replace("}","}\n")
|
||||
.replace(" =","=")
|
||||
.replace("= ","=")
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue