Code Packets

Browse all published coding projects

Age calculator in Java using Period class

Age calculator estimates the age of a person from the Date of birth using LocalDate objects, period class, and between() method.

Khushboo Jagwani · Mar 12, 2021

Finding Day From Date in C++

In this C++ program, we will find the day(Monday-Sunday) from the input Date. According to ISO 8601 standards calendar, the week begins with 1 as for Monday and ends with 7 for Sunday.

Kothapally Nehasai · Mar 12, 2021

Casino Royale Game in C++

This is a guessing game called Casino Royale, created in C++ language which works on your luck!! Try and Win!!

Sanskriti Saraswat · Mar 11, 2021

How to avoid Deadlock in Java.

In Java, we work with multiple threads, and sometimes it leads to a deadlock situation. So, we have discussed the cause and solution below with an example.

Vedanti Ravish Deshmukh · Mar 11, 2021

N is product of three distinct numbers in Cpp

To find the three distinct numbers whose product will give us N if possible, in Cpp language.

Preet Rajpara · Mar 11, 2021

Phone call in Java

In this project of Java, we are going to learn about the User interface and how we will build a phone call experience in it.

Vedanti Ravish Deshmukh · Mar 11, 2021

Linear Vs Binary Search in Python

This program is used to compare the time complexities of Linear Search and Binary Search.

Ankush Indulkar · Mar 11, 2021

Maintaining Records using File handling in C++

This C++ code helps to maintain student records in schools/colleges using the concept of fie handling with various other functions of C++ .

Sanskriti Saraswat · Mar 11, 2021

Calculator using JavaScript

A simple website for solving simple mathematical calculations, made using HTML, CSS, and JavaScript.

Shubham Goel · Mar 11, 2021

PingPong Game using HTML,CSS & JavaScript

A simple website to play Ping Pong game with animation, made using HTML, CSS, and JavaScript.

Shubham Goel · Mar 11, 2021

Finding Square Root of a number without using Pre-defined function in C++.

In this article, we are going to learn how to find the square root of a non-perfect square number without using a predefined function in C++.

Rahul Sah · Mar 10, 2021

C++ implementation of Pattern searching in a string in an efficient way

This is a C++ code which helps in detecting a pattern in a given string in a very efficient way. It takes two strings as input. First input is the pattern and the next one is the string(Text).

RANJITH RAMAMURTHY TEVNAN · Mar 10, 2021