A palindrome number is a number whose reverse is the original number. Some examples of palindrome number are: 121, 12321, 515, etc. C program to check whether the number is palindrome or not is shown below.
A quadratic equation is an equation of the form ax2 + bx + c = 0 where a, b and c are constants.
And the formula to calculate the roots of the quadratic equation is:
C program to find the roots of a quadratic equation is shown below.
In programming, keywords are reserved words for your compiler. Their meaning are already defined in compiler and are used for specific purpose only. These keywords cannot be used as identifiers(i.e, cannot be used for naming variables, classes etc.), however in C#, you can use keywords as variable or class name by using prefix "@".
Before we learn how to program in C#, we must first know about the sections of C# program. We must know every part of the program. This will help us know about code placement and it will be easier for us to write a program. So, let us look at a basic program in C# to understand different sections of C# program.
An integer that can be exactly divided by 2 is known as an even number. An integer that cannot be exactly divided by 2 is known as an odd number. In other words, a digit that contains 0, 2, 4, 6 or 8 as its last digit is known as even number.
In this Section, you will learn about Operators in C Programming (all valid operators available in C), expressions (combination of operators, variables and constants) and precedence of operators (which operator has higher priority and which operator has lower priority).
In C programming, variables which are to be used later in different parts of the functions have to be declared. Variable declaration tells the compiler two things:
- The name of the variable
- The type of data the variable will hold
There are two ways of declaring variable in C programming.
In this section, you will learn about character set(characters that are valid), keywords(reserved words) and identifiers(user-defined names) of C Programming Language.
A C program can be divided into several sections to have a better understanding about the different parts of a C program.
Clojure is a dynamic functional programming language which is designed to combine approachability and interactive development of a scripting language with an efficient and robust infrastructure for multi-threaded programming. Leiningen is a software used for automating Clojure projects. Basically, a easier way to use Clojure.