Bunty birthday javascript assignment expert

Bunty Birthday

the goal of the code to get output using with DateMethods.

input

  • the input is containing single line an array birthdaysList.

output

  • the first line of output should be a number indicating the number of peoples born same day as Bunty
  • the first line of output should be a number indicating the number of peoples born same month as Bunty
  • the first line of output should be a number indicating the number of peoples born same year as Bunty

input1

['2000-05-13', 'June 7 2021','03/24/2000']

output1

1

2

input2

['Jan 26 2000','Dec 13 2001, 'Nov 18 2001']

output2

function readLine[] {

 return inputString[currentLine++];

}

function main[] {

 const birthdaysList = JSON.parse[readLine[].replace[/'/g, '"']];

 const buntyBirthday = new Date["2000-06-13"];

/* Please do not modify anything above this line */

 // Write your code here

}

bunty birthday:

hey!!its bunty bithday

bunty was born on 13 June 2000 he is curious to know ow many people in is locality have their birthdays on the same day,month,year

given buntyBirthday in the prefilled code and a birthdayList as an input, write js program to find the number of people having their birthdays

on the same day

in the same month

in the same year

input:['2000-05-13' , 'June 7 2021' ,'03/24/2000']

output:

1

2

["2011-12-31","2011-02-14",'June 17 1998','12/02/1990','1995-10-23']

o/p:

1

Author: Harry

Hello friends, thanks for visiting my website. I am a Python programmer. I, with some other members, write blogs on this website based on Python and Programming. We are still in the growing phase that's why the website design is not so good and there are many other things that need to be corrected in this website but I hope all these things will happen someday. But, till then we will not stop ourselves from uploading more amazing articles. If you want to join us or have any queries, you can mail me at Thank you

 Harry  September 13, 2022

Author: Harry

Hello friends, thanks for visiting my website. I am a Python programmer. I, with some other members, write blogs on this website based on Python and Programming. We are still in the growing phase that's why the website design is not so good and there are many other things that need to be corrected in this website but I hope all these things will happen someday. But, till then we will not stop ourselves from uploading more amazing articles. If you want to join us or have any queries, you can mail me at Thank you

JavaScript Assignment Operators

Assignment operators assign values to JavaScript variables.

OperatorExampleSame As
= x = y x = y
+= x += y x = x + y
-= x -= y x = x - y
*= x *= y x = x * y
/= x /= y x = x / y
%= x %= y x = x % y
> y
>>>= x >>>= y x = x >>> y
&= x &= y x = x & y
^= x ^= y x = x ^ y
|= x |= y x = x | y
**= x **= y x = x ** y

Assignment Examples

The = assignment operator assigns a value to a variable.

The += assignment operator adds a value to a variable.

The -= assignment operator subtracts a value from a variable.

The *= assignment operator multiplies a variable.

The /= assignment divides a variable.

The %= assignment operator assigns a remainder to a variable.

Test Yourself With Exercises

Exercise:

Use the correct assignment operator that will result in x being 15 [same as x = x + y].

Start the Exercise


Here are 24 public repositories matching this topic...

  • Code
  • Issues
  • Pull requests

My solutions to the Programming Assignment Questions given at the end of chapters of the book, "Eloquent JavaScript 3rd Edition" by Marijn Haverbeke [//eloquentjavascript.net/]. [Completed]

  • Updated Mar 29, 2020
  • JavaScript

  • Code
  • Issues
  • Pull requests

Elzero Web School Js Course Assignments Solutions

  • Updated Aug 5, 2022
  • JavaScript

  • Code
  • Issues
  • Pull requests

A webapp that converts voice input to handwritten docs and lets you save the file in pdf format.##MLH 2020.

  • Updated Apr 30, 2021
  • JavaScript

  • Code
  • Issues
  • Pull requests

Front-End-Web-Development react solution week wise

  • Updated Jan 12, 2021
  • JavaScript

  • Code
  • Issues
  • Pull requests

A Javascript [web-based] page to move the items between two column something like Karbon and you can easily move all items of left to right, or select and move one by one to next side.

  • Updated Mar 31, 2022
  • JavaScript

  • Code
  • Issues
  • Pull requests

JS script [web-based] to count number of dots inside characters. for example i have one dot, and p not have a dot. [Support English, Persian, and Arabic languages]

  • Updated Mar 31, 2022
  • JavaScript

  • Code
  • Issues
  • Pull requests

  • Updated May 30, 2022
  • JavaScript

  • Code
  • Issues
  • Pull requests

A portal to access, Assignments of All subjects of Sem VI - Computer Engineering Pune University.

  • Updated Oct 14, 2021
  • JavaScript

  • Code
  • Issues
  • Pull requests

  • Updated Jun 15, 2020
  • JavaScript

  • Code
  • Issues
  • Pull requests
  • Discussions

  • Updated Apr 6, 2021
  • JavaScript

  • Code
  • Issues
  • Pull requests

A job-portal project using Nodejs, ExpressJs, MySQL, React with Material-UI.

  • Updated Feb 13, 2022
  • JavaScript

  • Code
  • Issues
  • Pull requests

Solutions to the assignments given at FESB's Cryptography and network security [CNS] class.

  • Updated Dec 13, 2020
  • JavaScript

  • Code
  • Issues
  • Pull requests
  • Discussions

1st JS Test Solution conducted Live in LAB – JavaScript 9 Programs

  • Updated Mar 25, 2022
  • JavaScript

  • Code
  • Issues
  • Pull requests

Demonstration on Strategy Design Pattern.

  • Updated Mar 15, 2020
  • JavaScript

  • Code
  • Issues
  • Pull requests

  • Updated Feb 14, 2021
  • JavaScript

  • Code
  • Issues
  • Pull requests

Solutions for IBA Tech Academy assignments

  • Updated Sep 16, 2022
  • JavaScript

  • Code
  • Issues
  • Pull requests

This repository contains all the Practical assignments of course subject full stack using NodeJS. The web technologies include MongoDB, ReactJS, ExpressJS and NodeJS

  • Updated Mar 1, 2021
  • JavaScript

  • Code
  • Issues
  • Pull requests

  • Updated Jan 22, 2021
  • JavaScript

  • Code
  • Issues
  • Pull requests

This is a survey application.

  • Updated Jul 29, 2022
  • JavaScript

  • Code
  • Issues
  • Pull requests
  • Discussions

  • Updated Jul 12, 2022
  • JavaScript

Improve this page

Add a description, image, and links to the assignment-solutions topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the assignment-solutions topic, visit your repo's landing page and select "manage topics."

Learn more

Chủ Đề