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
Understanding the CSS3 Filter Functions
The filter functions are used to set visual effects on elements like contrast, brightness, hue rotation, opacity, on images, etc. Let us now see some filter functions. Syntax filter: none | blur() | brightness() | contrast() | drop-shadow() | grayscale() | hue-rotate() | invert() | opacity() | saturate() | sepia() | url(); As you can see above, with the filter property, we can set the following effects: blur, brightness, contrast, drop-shadow, grayscale, hue-rotate, invert, opacity, saturate, sepia, and url. Invert The invert() function is used to invert the color samples in an image. ...
Read MoreDeferred Revenue
Deferred revenue refers to payments received by a company for goods or services that have not yet been delivered or performed. It represents a liability on the balance sheet because the company owes the customer either the product/service or a refund. Understanding Deferred Revenue Companies operate on various business models, and some require customers to pay in advance before receiving goods or services. Classic examples include subscription services, prepaid memberships, annual software licenses, and advance ticket sales. When a company receives such advance payments, it cannot immediately recognize this as revenue because it hasn't fulfilled its obligation to ...
Read MoreWrite a C program for electing a candidate in Elections by calling functions using Switch case
This C program demonstrates how to create an electronic voting system using functions and switch case statements. The program allows users to cast votes for candidates and view the vote count results. Syntax switch(expression) { case constant1: // statements break; case constant2: // statements break; default: ...
Read MoreConsumer Debt
Consumer debt refers to borrowings made by individuals or households to finance personal needs, with the obligation to repay the principal amount plus interest according to agreed terms. Unlike corporate or government debt, consumer debt serves personal financial requirements ranging from daily expenses to major purchases like homes and vehicles. Key Concepts Consumer debt represents personal financial obligations incurred by individuals to meet their immediate or long-term needs. These debts are provided by banks and financial institutions to help consumers fulfill various requirements, from emergency expenses to planned purchases. The total consumer debt in an economy is measured ...
Read MoreHow to align the output using justificationsin C language?
In C, justifications in printf() statements allow you to format and align output data in various ways. By using width specifiers and alignment flags, you can create well-formatted tables and organized output displays. Syntax printf("%-width format_specifier", value); // Left justification printf("%width format_specifier", value); // Right justification (default) To implement left justification, insert a minus sign (-) before the width value. Without the minus sign, the output is right-justified by default. Example 1: Left Justification with Fixed Width This example demonstrates left justification using %-15s for strings and %-15d ...
Read MoreSet areas within the grid layout in CSS
The CSS grid-template-areas property allows you to define named grid areas within a grid layout, making it easy to position grid items by name rather than line numbers. This property works with grid-area to create intuitive and maintainable grid layouts. Syntax .grid-container { display: grid; grid-template-areas: "area-name area-name . . ." "area-name area-name . . ."; } .grid-item { grid-area: area-name; } Key Properties ...
Read MoreWrite C program to calculate balance instalment
In C programming, calculating loan balance installments involves computing the remaining amount after each monthly payment, considering compound interest. This program demonstrates how to calculate the outstanding balance after making monthly payments on a loan with interest. Syntax balance = principal + (principal * (interest_rate / 100) / 12); remaining_balance = balance - monthly_payment; Formula for Interest Calculation The monthly interest calculation follows this approach − Monthly Interest: principal * ((annual_rate / 100) / 12) Balance with Interest: principal + monthly_interest Remaining Balance: balance_with_interest - monthly_payment Example: Loan Balance Calculator ...
Read MoreChanging the Default Display Value using CSS
Every element in CSS has a default display value that determines how it appears on the webpage. We can easily change this default behavior by explicitly setting the display property to a different value. Syntax selector { display: value; } Common Display Values ValueDescription blockElement takes full width and starts on new line inlineElement takes only necessary width and flows with text inline-blockCombines properties of both inline and block noneElement is completely hidden Example 1: Changing List Items to Inline Display By default, list items () ...
Read MoreCo-Branded Cards
Co-branded cards are credit cards issued jointly by a retail merchant and a financial institution, displaying both brand logos on the card. These cards combine the benefits and services of both partners, offering enhanced value to customers through combined rewards, discounts, and exclusive perks from both brands. Key Concepts Co-branded cards function like regular credit cards but with added benefits from the partnership between two brands. The retail partner (airlines, hotels, supermarkets) collaborates with a financial institution (banks, Visa, MasterCard) to create a card that serves both brands' customers. The partnership can take two forms: In a ...
Read MoreC program on calculating the amount with tax using assignment operator
In C programming, calculating tax on an amount is a common application of arithmetic and assignment operators. This program demonstrates how to compute the total amount by adding a specific tax percentage to the original amount. Syntax total_amount = original_amount + (original_amount * tax_rate); Problem Write a C Program to enter the amount in dollars and then display the amount by adding 18% as tax. Solution Let's consider the restaurant person adding 18% tax to every bill of the customer. The logic applied to calculate tax is − value = ...
Read More