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
Animate CSS column-gap property
The CSS column-gap property is used to set the gap between columns in a multi-column layout. When combined with CSS animations, you can create smooth transitions that adjust the spacing between columns over time. Syntax selector { column-gap: value; animation: animation-name duration timing-function iteration-count; } @keyframes animation-name { percentage { column-gap: new-value; } } Example The following example demonstrates how to animate the column-gap property to create a dynamic ...
Read MoreProgram Budget
A program budget is a financial plan that specifies how funds will be allocated to specific programs or projects within an organization. It involves identifying required resources, estimating costs, and allocating money to achieve program objectives while ensuring effective resource utilization aligned with strategic goals. Key Components of Program Budget A program budget consists of several essential elements that work together to create a comprehensive financial framework: Program identification − Clear definition of specific programs or projects requiring funding Resource assessment − Evaluation of personnel, materials, and operational costs needed ...
Read MoreC Program to calculate the difference between two time periods
In C programming, calculating the difference between two time periods is a common problem that involves handling the borrowing mechanism similar to subtraction in arithmetic. This program takes two time periods as input and computes their difference in hours, minutes, and seconds format. Syntax struct time { int hrs; int min; int sec; }; void diff_between_time(struct time start, struct time stop, struct time *diff); Algorithm The logic to find the difference between start and stop time involves borrowing when the stop ...
Read MoreWrap the flex items in reverse order with CSS
Use the flex-wrap property with wrap-reverse value to wrap flex items in reverse order. This means that when flex items exceed the container's width and need to wrap, they will wrap in the opposite direction compared to the normal wrap behavior. Syntax selector { flex-wrap: wrap-reverse; } Example The following example demonstrates how wrap-reverse wraps flex items in reverse order − .mycontainer { display: flex; ...
Read MoreC program to find maximum occurrence of character in a string
In C programming, finding the character with maximum occurrence in a string involves counting the frequency of each character and determining which appears most often. This is useful for text analysis and character statistics. Syntax int frequency[ASCII_SIZE]; while(string[i] != '\0') { frequency[(int)string[i]]++; i++; } Algorithm The algorithm to find maximum occurrence follows these steps − Initialize a frequency array to count occurrences of each ASCII character Traverse the string and increment frequency count for each character Find the character with maximum frequency count ...
Read MorePost Office Saving Schemes
Post Office Saving Schemes are government-backed investment and savings programs offered through postal services to provide safe, accessible financial options to the general public. These schemes are designed to encourage saving habits, offer attractive returns, and ensure financial inclusion, particularly for people in rural areas or those without access to traditional banking services. Key Characteristics of Post Office Saving Schemes Accessibility − Available through widespread post office network, reaching both urban and rural areas Government Backing − Schemes are backed by government guarantee, ensuring safety and reliability ...
Read MorePerform Animation on CSS border-top-right-radius property
The CSS border-top-right-radius property defines the radius of the top-right corner of an element's border. You can create smooth animations on this property to create engaging visual effects. Syntax selector { border-top-right-radius: value; animation: animation-name duration timing-function; } @keyframes animation-name { from { border-top-right-radius: initial-value; } to { border-top-right-radius: final-value; } } Example: Animating Border Top Right Radius The following example demonstrates how to animate the border-top-right-radius property from 0 to 80px − ...
Read MoreWrite a C Program to count the frequency of each character
In C programming, counting the frequency of each character in a string is a common task that involves scanning through the string and tracking how many times each character appears. Syntax int frequency[26]; // For lowercase letters a-z frequency[character - 'a']++; // Increment count for character Algorithm Step 1: Define maximum string size Step 2: Declare string and frequency array Step 3: Read input string Step 4: Initialize frequency array to 0 Step 5: Iterate through string and count characters: - For lowercase: frequency[string[i] - 'a']++ ...
Read MoreAlign flex items at the beginning of the container with CSS
The CSS justify-content property with the flex-start value is used to align flex items at the beginning of the flex container along the main axis. This is the default behavior for flex containers, positioning items at the start of the container. Syntax .container { display: flex; justify-content: flex-start; } Example The following example demonstrates how to align flex items at the beginning of the container using justify-content: flex-start − .mycontainer { ...
Read MoreExplain the Character operations in C language
Character operations in C language involve handling individual characters, which can be alphabetic (A-Z or a-z), numeric (0-9), whitespace, or special symbols. C provides various functions for character input, output, and manipulation. Syntax char variable_name = 'character'; char variable_name; Character Declaration Characters in C are declared using the char data type and can be initialized with character constants − #include int main() { char a = 'A'; /* using character constant */ char b = ...
Read More