Search
 
SCRIPT & CODE EXAMPLE
 

CPP

javascript if else exercises

function greaterNum(num1, num2) {
    if (num1 > num2) {
        return num1;
    } else {
        return num2;
    }
}

console.log(greaterNum(5, 10));
Comment

PREVIOUS NEXT
Code Example
Cpp :: assign value to a pointer 
Cpp :: c++ power of two 
Cpp :: c++ last element of array 
Cpp :: << in C++ 
Cpp :: memset c++ 
Cpp :: C++ switch..case Statement 
Cpp :: sort 2d vector c++ 
Cpp :: binary multiplication 
Cpp :: linkedlist in c++ 
Cpp :: create a copy of a vector c++ 
Cpp :: print all number between a and b in c++ 
Cpp :: C++ ss 
Cpp :: recuva recovery software for pc with crack 
Cpp :: Array declaration by specifying the size and initializing elements in C++ 
Cpp :: faster solutions 
Cpp :: how to find second smallest element in an array using single loop 
Cpp :: person parametr cpp 
Cpp :: gdb get return value of function 
Cpp :: convert string to double arduino 
Cpp :: find min and max in array c++ 
Cpp :: coin change top-down 
Cpp :: C++ Multilevel Inheritance 
Cpp :: dinamic 
Cpp :: integrate sinx 
Cpp :: c++ system() from variable 
Cpp :: dfs in tree using adjacency list 
Cpp :: c++ define function in header 
Cpp :: std remove example 
Cpp :: operator overloading prefix postfix c++ 
Cpp :: cosnt cast 
ADD CONTENT
Topic
Content
Source link
Name
7+8 =