Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
351 B
1
Indexable
Never
#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
        }


    }
}