Articles on Trending Technologies

Technical articles with clear explanations and examples

Set top-left corner border with CSS

varun
varun
Updated on 15-Mar-2026 357 Views

The CSS border-top-left-radius property is used to set a rounded border specifically for the top-left corner of an element. This property allows you to create asymmetric rounded corners where only the top-left corner has a different radius than other corners. Syntax selector { border-top-left-radius: value; } Possible Values ValueDescription lengthDefines the radius in px, em, rem, etc. %Defines the radius as a percentage of the element's dimensions initialSets the property to its default value inheritInherits the value from the parent element Example The following example demonstrates ...

Read More

C Program to check whether the triangle is equilateral, isosceles or scalene

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

A triangle consists of three sides and three angles. Based on the relationship between the three sides, triangles can be classified into three types − Equilateral triangle: All three sides are equal. Isosceles triangle: Any two sides are equal. Scalene triangle: No sides are equal. Syntax if (side1 == side2 && side2 == side3) { // Equilateral triangle } else if (side1 == side2 || side2 == side3 || side1 == side3) { // Isosceles triangle } else { // Scalene triangle ...

Read More

Animate CSS column-gap property

radhakrishna
radhakrishna
Updated on 15-Mar-2026 683 Views

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 More

Program Budget

Pratik Kumbhare
Pratik Kumbhare
Updated on 15-Mar-2026 903 Views

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 More

C Program to calculate the difference between two time periods

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

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 More

Wrap the flex items in reverse order with CSS

Chandu yadav
Chandu yadav
Updated on 15-Mar-2026 1K+ Views

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 More

C program to find maximum occurrence of character in a string

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

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 More

Post Office Saving Schemes

Pratik Kumbhare
Pratik Kumbhare
Updated on 15-Mar-2026 433 Views

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 More

Perform Animation on CSS border-top-right-radius property

Samual Sam
Samual Sam
Updated on 15-Mar-2026 283 Views

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 More

Write a C Program to count the frequency of each character

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

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 More
Showing 20731–20740 of 61,299 articles
Advertisements