Untitled

 avatar
unknown
plain_text
3 years ago
351 B
4
Indexable
#include <stdio.h> 


int function1(){
    while(1){
        value=a*b

    }

}

int function2(){
    while(1){

        value=a+b
    }
}


//merge two functions 
int function3(int function){
    while(1){
        if(function==1){
            value=a*b
        }
        else{
            value=a+b
        }


    }
}
Editor is loading...