In this problem, we have given three integers M1, M2, and N. Our task is to create a program to find the sum of multiples of two numbers below N.Here, we will add all the elements below N which are multiples of either M1 or M2Let’s take an example to understand the problem, Input N = 13, M1 = 4, M2 = 6Output 20Explanation − Number that are multiples of 4 and 6 that are less than 13 are 4, 6, 8, 12.A simple solution to the problem is to be looping from 1 to N and adding all values that can ... Read More
In this problem, we are given a complete binary tree. Our task is to create a program to find the sum of the mirror image nodes of a complete binary tree in an inorder way.Here, we have to find the inorder traversal of the left sun-tree, and then for each node, we will add the mirror image with it. This means if we are traversing the left leaf node, we will add the value of the right leaf node with it. As it is the mirror image node.Some important definitionsComplete binary tree is a binary tree where all levels have ... Read More
Financial statements provide summary of the accounting of an organisation. The balance sheet reflects the assets and liabilities and capital as on certain data and the income statements tells about the results of operation in a certain period.Financial statements consist of the following −Income statements or Profit and loss accountIt provides entire operational of the concern like total revenue generated and expenses incurred for earning that revenue. Income statement helps to understand the gross profit and net profit of the concern.Balance sheet or the position statementIt helps to ascertain and understand the total assets, liabilities and capital of the firm. ... Read More
Decision making helps to utilise the available resources for achieving the objectives of the organisation, unless minimum financial performance levels are achieved. Financial management provides both conceptual and analytical framework for financial decision making. The key aspects of financial decision making relate to financing, investment, dividends and working capital management.The top three financial decisions along with the factors affecting the respective decisions are mentioned below −Investment decisionsInvestment decisions tells about total amount of assets to be held in the firm. Since, funds involve cost are available in limited quantity proper utilisation is required for achieving the goal of wealth maximisation.Investment ... Read More
In this problem, we are given an array arr of N numbers where arr[i] represents (i+1)th node. Also, there are M pairs of edges where u and v represent the node connected by the edge. Our task is to create a program to find the sum of the minimum elements in all connected components of an undirected graph. If a node has no connectivity to any other node, count it as a component with one node.Let’s take an example to understand the problem, Input arr[] = {2, 7, 5, 1, 2} m = 2 1 2 4 5Output 8Explanation Below is the graph ... Read More
Let us first understand the nature of financial management and then study about its scope.Nature of financial managementThe nature of financial management includes the following −Estimates capital requirementsFinancial management helps in anticipation of funds by estimating working capital and fixed capital requirements for carrying business activities.Decides capital structureProper balance between debt and equity should be attained, which minimizes the cost of capital.Financial management decides proper portion of different securities (common equity, preferred equity and debt).Select source of funSource of fund is one crucial decision in every organisation. Every organisation should properly analyse various source of funds (shares, bonds, debentures etc.) ... Read More
In this problem, we are given a number n. Our task is to create a program to find the sum of the first and last digit of a number in PL/SQL.First, let’s brush-up about PL/SQL, PL/SQL is a combination of SQL along with the procedural features of programming languages.Let’s take an example to understand the problem, Input − n = 31415Output − 8Explanation − first digit = 3 , last digit = 5. Sum = 8To, solve this problem, we will extract the first and last digit to number n. And the print their sum.The first and last digits are ... Read More
Financial management provides pathways to attain goals and objectives in an organisation. The main duty of a financial manager is to measure organisational efficiency through proper allocation, acquisition and management.The importance of financial management is explained below −It provides guidance in financial planning.It assists in acquiring funds from different sources.It helps in investing an appropriate amount of funds.It increases organisational efficiency.It reduces delay production.It cut down financial costs.It reduces cost of fund.It ensures proper use of fund.It helps business firm to take financial decisions.It prepares guideline for earning maximum profits with minimum cost.It increases shareholders’ wealth.It can control the financial ... Read More
In this problem, we are given two numbers L and R. We also have an array arr[] such that arr[i] = i*(-1)^i. Our task is to create a program to calculate the sum of the element from index L to R in an array when arr[i] = i*(-1)^i.So, we need to find the sum of elements within the range [L, R] of the array.Let’s take an example to understand the problem, Input L = 2 , R = 6Output 4Explanation arr[] = {-1, 2, -3, 4, -5, 6} Sum = 2+ (-3) + 4 + (-5) + 6 = 4A simple solution to ... Read More
Financial management is the set of activities concerned with planning, organising, directing and controlling the financial activities. Financial management accepts the general management principles for financial performances. Financial management acts like a guidance, where more investment opportunities are available.Scope of financial managementThe scope of financial management is given below −Estimating the requirement of funds.Determining the capital structure.Investment fund.Maximise profits.Maintain core value of organisation.Dividend for shareholders.Retain profits.Objectives of financial managementThe objectives of financial management include −Profit maximisation.Wealth maximisation.Optimum funds utilisation.Ensure safety on investment.Sound capital structure.Functions of financial managementThe functions of financial management are as follows −Estimation of capital requirements.Determination of capital ... Read More