Working with CSS Units, Colors and References

CSS Units, Colors and References In this tutorial you will learn about Cascading Style Sheets (CSS), Units and Colors, Percentage, Values, Colors, References – Font and Text, Color and Background, Layout, Classification, Positioning and Pseudo-classes. Units and Colors Percentage Percentage values have to be followed by “%”. Values The absolute values represent a measurement, there are many measurements in CSS, so the measurement unit has to be stated. CSS measurement units are: • cm: centimeter. • em: font size. • ex: half of the font size. • in: inch. •… Read More

C Programming – Managing Input and Output Operations

Input Output operations are useful for program that interact with user, take input from the user and print messages. The standard library for input output operations used in C is stdlib. When working with input and output in C there are two important streams: standard input and standard output. Standard input or stdin is a data stream for taking input from devices such as the keyboard. Standard output or stdout is a data stream for sending output to a device such as a monitor console. To use input and output… Read More

C Programming – Expressions

Expressions in C are basically operators acting on operands. Statements like a = b + 3, ++z and 300 > (8 * k) are all expressions. Strictly speaking, even a single variable or constant can be considered an expression. You have seen several expressions in the previous C tutorial on Operators in which the examples involved expressions. Precedence and Associativity When an expression can be interpreted in more than one way, there are rules that govern how the expression gets interpreted by the compiler. Such expressions follow C’s precedence and… Read More

C Programming – Operators

C programming language provides several operators to perform different kind to operations. There are operators for assignment, arithmetic functions, logical functions and many more. These operators generally work on many types of variables or constants, though some are restricted to work on certain types. Most operators are binary, meaning they take two operands. A few are unary and only take one operand. Operators can be classified based on the type of operations they perform. C Arithmetic Operators Arithmetic operators include the familiar addition (+), subtraction (-), multiplication (*) and division… Read More