Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
-
Economics & Finance
Articles on Trending Technologies
Technical articles with clear explanations and examples
text-justify Property in CSS
The CSS text-justify property controls how justified text is aligned when text-align is set to justify. It determines the method used to distribute space between words or characters to achieve full justification. Syntax selector { text-justify: value; } Possible Values ValueDescription autoBrowser determines the best justification method inter-wordAdjusts spacing between words inter-characterAdjusts spacing between characters noneDisables justification Example 1: Inter-word Justification The following example uses inter-word to justify text by adjusting space between words − .inter-word-example ...
Read MoreCompulsory Convertible Debenture
A Compulsory Convertible Debenture (CCD) is a unique financial instrument that combines debt and equity features, issued by companies to raise capital. Unlike regular debentures, CCDs must be converted into equity shares at a predetermined time or when specific conditions are met, making the conversion mandatory rather than optional. Key Concepts CCDs are hybrid instruments that provide companies with debt financing initially while eventually converting to equity. They offer investors regular interest payments during the debt phase and potential capital appreciation upon conversion to shares. The conversion terms, including the conversion ratio, price, and timeline, are predetermined at ...
Read MoreWrite a program to add two complex numbers using C
In C programming, complex numbers are mathematical entities that consist of real and imaginary parts. A complex number is represented in the form a + bi, where 'a' is the real part and 'b' is the imaginary part multiplied by 'i' (the square root of -1). Syntax struct complexNumber { int real; int imaginary; }; Algorithm To add two complex numbers, we add their real parts separately and imaginary parts separately − Real part: result_real = num1_real + num2_real Imaginary part: result_imaginary = num1_imaginary ...
Read MoreAdjusting the Image Contrast using CSS3
The CSS filter property allows you to apply visual effects to HTML elements, including adjusting image contrast. The contrast() function specifically controls the contrast level of images, making them appear more or less vibrant. Syntax selector { filter: contrast(value); } Possible Values ValueDescription 0%Completely gray image (no contrast) 100%Original image contrast (default) >100%Increased contrast
Read MoreHow to print integers in the form of Pascal triangle using C?
Pascal's triangle is a triangular arrangement of integers where each number is the sum of the two numbers directly above it. This mathematical structure has many applications in combinatorics, algebra, and probability theory. Syntax // Using factorial approach int factorial(int n); int binomialCoefficient = factorial(row) / (factorial(col) * factorial(row - col)); // Using iterative approach int coefficient = 1; coefficient = coefficient * (row - col) / (col + 1); How Pascal Triangle Works Pascal's triangle follows these rules − The first and last elements of each row are ...
Read MoreBasis Point in the Mortgage
A basis point is a unit of measurement used in finance to express changes in interest rates, particularly in mortgages. One basis point equals 0.01% or one-hundredth of a percentage point, providing a precise way to quote and calculate interest rate variations in mortgage loans. Formula The conversion between basis points and percentages follows this formula: $$\mathrm{Percentage = \frac{Basis\ Points}{100}}$$ Or conversely: $$\mathrm{Basis\ Points = Percentage \times 100}$$ Where: Basis Points − The number of basis points to convert Percentage − The equivalent percentage value Example Calculation Let's examine how ...
Read MoreThe CSS scale() Function
The CSS scale() function is used to define a transformation that resizes an element on the 2D plane. You can specify the amount of scaling in the X and Y directions as parameters to create larger or smaller versions of elements. Syntax transform: scale(x-scale, y-scale); transform: scale(uniform-scale); Possible Values ValueDescription x-scaleHorizontal scaling factor (1 = original size) y-scaleVertical scaling factor (optional) uniform-scaleSingle value for both X and Y scaling Example: Increasing Image Size The following example uses scale(1.2, 1.3) to increase the image width by 20% and height by 30% ...
Read MoreHow to print Floyd's triangle (of integers) using C program?
Floyd's triangle is a right-angle triangle of consecutive numbers, starting with 1 in the top left corner. Each row contains one more number than the previous row, forming a triangular pattern − 1 2 3 4 5 6 7 8 9 10 Syntax for (i = 1; i = 1; i--) { for (j = 1; j
Read MoreApplying for a Forex Card
A forex card, also known as a prepaid travel card, is a convenient payment instrument that allows travellers to load multiple foreign currencies onto a single card for international transactions. These cards provide a secure and cost-effective alternative to carrying cash or using credit cards abroad, offering fixed exchange rates and protection against currency fluctuations. Key Features of Forex Cards Forex cards offer several advantages that make them popular among international travellers: Multiple Currency Loading − Load up to 16 different currencies on a single card, eliminating the need to carry multiple currencies ...
Read MoreCheck the number is Armstrong or not using C
An Armstrong number (also known as a narcissistic number) is a number that equals the sum of its own digits each raised to the power of the number of digits. For example, 153 is an Armstrong number because 1³ + 5³ + 3³ = 153. Syntax number = sum of (each digit ^ number_of_digits) Algorithm To check if a number is an Armstrong number − Count the number of digits in the given number Calculate the sum of each digit raised to the power of total digits Compare this sum with the ...
Read More