Skip to content

A program for analyzing the financial records of a company using the given database. https://kingjessie.github.io/Console-Finances/

Notifications You must be signed in to change notification settings

KingJessie/Console-Finances

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Console-Finances

Overview

The objective is to develop a program for analyzing the financial records of a company using the given database.

var finances = [
 ["Jan-2010", 867884],
 ["Feb-2010", 984655],
 ["Mar-2010", 322013],
 ["Apr-2010", -69417],
 ["May-2010", 310503],
 ["Jun-2010", 522857],
 ["Jul-2010", 1033096],
 ["Aug-2010", 604885],

 More data........

Instructions

Task: To write JavaScript code that analyzes the records to calculate each of the following

  • The total number of months included in the dataset.

  • The net total amount of Profit/Losses over the entire period.

  • The average of the changes in Profit/Losses over the entire period.

    • Track what the total change in profits are from month to month and then find the average.
    • (Total/Number of months)
  • The greatest increase in profits (date and amount) over the entire period.

  • The greatest decrease in losses (date and amount) over the entire period.

ScreenShot:

Img-1:

index.html screenshot

Img-2:

index.html screenshot

Deployment:

Link: https://kingjessie.github.io/Console-Finances

About

A program for analyzing the financial records of a company using the given database. https://kingjessie.github.io/Console-Finances/

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published