Articles on Trending Technologies

Technical articles with clear explanations and examples

Setting Font Size with Keywords Using CSS

AmitDiwan
AmitDiwan
Updated on 15-Mar-2026 360 Views

The CSS font-size property can be set with absolute and relative keywords to scale text as desired. These predefined keywords provide consistent font sizing across different browsers and devices. Syntax selector { font-size: keyword; } Font Size Keywords The following table lists the standard keywords used with the font-size property − Keyword Description medium Sets the font-size to a medium size (default value) xx-small Sets the font-size to an xx-small size x-small Sets the font-size to an extra ...

Read More

C program to compute geometric progression

Bhanu Priya
Bhanu Priya
Updated on 15-Mar-2026 2K+ Views

In C programming, a geometric progression (GP) is a sequence where each term after the first is found by multiplying the previous term by a common ratio. The sum of a geometric progression follows the formula: 1 + x + x² + x³ + ... + xⁿ. Syntax sum = 1 + x + x² + x³ + ... + xⁿ Algorithm The algorithm to compute geometric progression is as follows − Read values for x (common ratio) and n (number of terms) Initialize sum to 0 Use a loop to calculate ...

Read More

Formatting Unordered and Ordered Lists in CSS

AmitDiwan
AmitDiwan
Updated on 15-Mar-2026 349 Views

The style and position of unordered and ordered lists can be formatted using CSS properties like list-style-type, list-style-image, and list-style-position. The list-style shorthand property allows you to set all these values in one declaration. Syntax selector { list-style: list-style-type list-style-position list-style-image; } Possible Values PropertyValuesDescription list-style-typedisc, circle, square, decimal, upper-roman, lower-roman, noneSets the marker type list-style-positioninside, outsideSets marker position relative to content list-style-imageurl(), noneUses custom image as marker Style Ordered List With Upper Roman Marker The following example styles an ordered list with upper roman numerals ...

Read More

Money Creation By Banking System

Bitopi Kaashyap
Bitopi Kaashyap
Updated on 15-Mar-2026 362 Views

Money creation by the banking system is the process by which banks generate new money in the economy through lending activities. Unlike common perception, banks don't simply lend out deposited money − they actually create new money when they extend loans. This occurs through the fractional reserve banking system, where banks hold only a portion of deposits as reserves and lend out the remainder, effectively creating new purchasing power in the economy. Formula The money creation process is governed by the money multiplier formula: $$\mathrm{Money\ Multiplier = \frac{1}{Reserve\ Ratio}}$$ Total money created in the banking system: ...

Read More

C Program to delete n characters in a given string

Bhanu Priya
Bhanu Priya
Updated on 15-Mar-2026 5K+ Views

In C programming, deleting n characters from a specific position in a string involves shifting the remaining characters to fill the gap. This operation modifies the original string by removing a substring starting from a given position. Syntax void deleteString(char str[], int position, int n); Algorithm The algorithm to delete n characters from a given position in a string is as follows − Step 1 − Read the input string Step 2 − Read the starting position for deletion Step 3 − Read the number of characters to delete Step 4 − ...

Read More

Outlines Vs Borders in CSS

AmitDiwan
AmitDiwan
Updated on 15-Mar-2026 881 Views

Outline doesn't take up space and is displayed around the border if set. It is used for highlighting elements and we can't specify whether individual sides should have an outline or not. Like borders, outline is not displayed by default. In some browsers, say Firefox, focused elements are displayed with a thin outline. Borders can be customized to a greater extent. We can style individual sides of a border and round their edges. Borders take up space and affect the box-sizing. Syntax /* Outline Syntax */ outline: outline-width outline-style outline-color; /* Border Syntax */ border: ...

Read More

C program to find GCD of numbers using recursive function

Bhanu Priya
Bhanu Priya
Updated on 15-Mar-2026 27K+ Views

The greatest common divisor (GCD) of two numbers is the largest positive integer that divides both numbers evenly. In C programming, we can find the GCD using the Euclidean algorithm implemented with a recursive function. Syntax unsigned int GCD(unsigned i, unsigned j); Algorithm The recursive GCD algorithm follows these steps − Step 1 − Define the recursive function. Step 2 − Read the two integers a and b. Step 3 − Call recursive function with the following logic: a. if j > i then return GCD(j, i) b. if ...

Read More

Normal Goods: Relationship with Demand, and Examples

Bitopi Kaashyap
Bitopi Kaashyap
Updated on 15-Mar-2026 341 Views

Normal goods are products whose demand increases when consumers' incomes rise and decreases when their incomes fall. These goods have a positive relationship with consumer income, meaning that as people earn more money, they tend to purchase more of these items. Formula The income elasticity of demand for normal goods is expressed as: $$\mathrm{Income\ Elasticity\ of\ Demand = \frac{\%\ Change\ in\ Quantity\ Demanded}{\%\ Change\ in\ Income}}$$ For normal goods, this elasticity is positive (greater than 0), indicating variables: % Change in Quantity Demanded − percentage change in the amount of goods purchased % Change in ...

Read More

C program to calculate sum of series using predefined function

Bhanu Priya
Bhanu Priya
Updated on 15-Mar-2026 1K+ Views

In C programming, calculating the sum of mathematical series is a common task. This program demonstrates how to calculate the sum of the series: 1 - n²/2! + n⁴/4! - n⁶/6! + n⁸/8! - n¹⁰/10! using the predefined pow() function from the math.h library. Syntax double pow(double base, double exponent); Algorithm The algorithm to calculate the sum of series using predefined function − Step 1: Read the value of n from user Step 2: Initialize factorial = 1, sum = 1, and loop counter Step 3: For each even power from 2 ...

Read More

Standard Link Styles in CSS

AmitDiwan
AmitDiwan
Updated on 15-Mar-2026 547 Views

We can style links as per our requirements. It is recommended that links have styles which distinguish them from normal text. The default link styles for different link states is as follows − Link State Color active #EE0000 focus #5E9ED6 or a similar shade of blue outline in case of Windows and Mac, #F07746 outline for Linux while text color remains the same hover #0000EE link #0000EE visited #551A8B Note − The above colors may change with newer versions of browsers. For proper functionality, ...

Read More
Showing 20341–20350 of 61,297 articles
Advertisements