Untitled

Anonymous
plain_text
04/03/2022 8:44 PM
468 B
22
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...