Utopian Tree
All topics
If - Else statements
if - else statements are basic control structures in any program. They operate on a section of code when a specific condition is met which is given by a boolean expression of comparators (<, >, ==, !=) and can be made complex with use of or and and (|| and &&).
Sample in C++
if(boolean_expression) {
/* statement(s) will execute if the boolean expression is true */
}
else {
/* statement(s) will execute if the boolean expression is false */
}
Related challenge for If - Else statements
Closed Form
An equation is said to be a closed-form solution if it solves a given problem in terms of functions and mathematical operations from a given generally-accepted set.
For example, the sum of the first numbers is given by the closed form
A great tool to find closed form is a search tool The On-Line Encyclopedia of Integer Sequences.
Related challenge for Closed Form