Untitled
unknown
plain_text
4 years ago
404 B
9
Indexable
void function1(){
int value,a,b;
while(condition){
value=a*b;
}
}
void function2(){
int value,a,b;
while(1){
value=a+b;
}
}
//merge two functions
void function3(int function){
int value,a,b
while(1){
if(function==1){
value=a*b;
}
else{
value=a+b;
}
}
}Editor is loading...