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
CSS unicode-bidi Property
The CSS unicode-bidi property controls the bidirectional text algorithm, determining how text with mixed left-to-right and right-to-left content should be displayed. This property is essential when working with multilingual content that includes languages like Arabic, Hebrew, or Persian alongside Latin-based languages. Syntax selector { unicode-bidi: value; } Possible Values ValueDescription normalDefault behavior, follows Unicode bidirectional algorithm embedCreates an additional level of embedding bidi-overrideForces text direction override based on direction property isolateIsolates element from surrounding text for bidirectional calculations isolate-overrideCombines isolate and bidi-override behaviors Example: Comparing Different Unicode-bidi ...
Read MoreC program to display the prime numbers in between two intervals
In C programming, finding prime numbers between two intervals is a common problem that involves checking each number in the range for primality. A prime number is a natural number greater than 1 that has no positive divisors other than 1 and itself. Syntax for(i = start + 1; i < end; i++) { flag = 0; for(j = 2; j
Read MoreEquity Dilution
Equity dilution is a financial concept that occurs when a company issues additional shares, reducing the ownership percentage of existing shareholders. This process increases the total number of outstanding shares, which decreases the value and voting power of each individual share held by current investors. Formula The formula for calculating equity dilution percentage is: $$\mathrm{Dilution\ Percentage = \frac{New\ Shares\ Issued}{Total\ Shares\ After\ Issuance} \times 100}$$ To calculate the new ownership percentage for existing shareholders: $$\mathrm{New\ Ownership\ \% = \frac{Original\ Shares\ Held}{Original\ Shares + New\ Shares\ Issued} \times 100}$$ Variables: New Shares Issued − ...
Read MoreSet the width of a tab character with CSS
Use the tab-size property in CSS to set the width of a tab character. This property determines how many spaces a tab character should take up when displaying text content inside elements or other elements with preserved whitespace. Syntax selector { tab-size: value; } Possible Values Value Description number ...
Read MoreFind the sum of first and last digit for a number using C language
In C programming, finding the sum of the first and last digit of a number involves extracting these digits using modulus and division operations. The last digit is obtained using modulus 10, while the first digit is found by repeatedly dividing the number by 10. Syntax int lastDigit = number % 10; while(number > 9) { number = number / 10; } int firstDigit = number; int sum = firstDigit + lastDigit; Algorithm The algorithm to find the sum of first and last digit is as follows − ...
Read MoreCSS quotes Property
The CSS quotes property is used to set quotation marks for the element or elements that use the quotes property with content. It defines which characters to use for opening and closing quotes. Syntax selector { quotes: open-quote close-quote; } Possible Values ValueDescription noneRemoves quotation marks autoUses browser default quotation marks string stringCustom opening and closing quote characters Example 1: Custom Quote Marks The following example sets single quotes for the element − #demo ...
Read MoreExplain the different sections in C language
A C program follows a structured format with different sections that serve specific purposes. Understanding these sections helps in writing well-organized and maintainable code. Structure of a C Program The complete C program is divided into different sections, which are as follows − Documentation Section − Contains comments about the program like author name, creation or modification date. Information written between /* */ or after // is called a comment line. These lines are ignored by the compiler during compilation. Preprocessor Directives Section − In this section, header files required to execute the program are ...
Read MoreCSS hanging-punctuation Property
The CSS hanging-punctuation property allows punctuation marks to be positioned outside the line box at the beginning or end of text lines. This creates better visual alignment by preventing punctuation from affecting text indentation. Syntax selector { hanging-punctuation: value; } Possible Values ValueDescription noneNo punctuation marks hang outside the line box (default) firstPunctuation at the start of the first line hangs outside lastPunctuation at the end of the last line hangs outside allow-endPunctuation at the end of lines may hang outside force-endPunctuation at the end of lines must hang ...
Read MoreDividends in Arrears
Dividends in arrears occur when a company fails to pay declared dividends to shareholders on the scheduled payment date. This situation typically arises due to financial difficulties, cash flow problems, or strategic decisions by the company's board of directors to redirect profits toward business operations instead of shareholder distributions. Formula The calculation of dividends in arrears is straightforward: $$\mathrm{Dividends\ in\ Arrears = Dividend\ per\ Share \times Number\ of\ Shares \times Number\ of\ Missed\ Periods}$$ Where: Dividend per Share − The declared dividend amount per individual share Number of Shares − Total outstanding shares affected by ...
Read MoreC program to display only the lower triangle elements in a 3x3 2D array
In a 3x3 matrix, the lower triangle consists of elements where the row index is greater than or equal to the column index (i >= j). This includes the main diagonal and all elements below it. Syntax for(i = 0; i < n; i++) { for(j = 0; j < n; j++) { if(i >= j) // Print element at array[i][j] else ...
Read More