Coder Social home page Coder Social logo

Rhea Jain's Projects

add-three-numbers---digit-by-digit icon add-three-numbers---digit-by-digit

Given three numbers, add them digit by digit and return the sum. Complete the function addDigitByDigit() that accepts 3 integers and returns the sum , added digit by digit.

add-two-numbers- icon add-two-numbers-

Add Two Numbers - The task is very simple: given two integers A and B, write a program to add these two numbers and output it.

array-input icon array-input

In this respository, I will share the code which will show a basic understanding of how to input an array in java.

banking-project icon banking-project

In this I will create a program with Data carrier class concept having operations like deposit withdraw.

billing-concept icon billing-concept

In this project, I have used the concept of billing that McDonald's uses. The code will be a Java programme using almost all the OOP's concepts to help understanding OOP's in Java more precisely.

billing-concepts icon billing-concepts

In this project, I have used the concept of billing that McDonald's uses. The code will be a Java programme using almost all the OOP's concepts to help understanding OOP's in Java more precisely.

birthday-wish-age-calculator icon birthday-wish-age-calculator

This project will have 2 classes Date & Student class. The Student class will have Date class objects in it for specific purpose, the main function will be in the Student class itself. The purpose of this project is to get user desired input and print the age and a " HAPPY BIRTHDAY " message for the person.

book-details-and-price-calculator icon book-details-and-price-calculator

This program will have 3 classes namely - Date, Book, Author & a Main class. The Author class will have 2 constraints - Author Id and Name, Book class will have 3 constraints - Book Name, ID, price. Here if the book exists the program will return all the details of the book also if book is published from 2010 to 2021 then additional 25% discount will be applied in purchasing of the book.

buy-maximum-toys-possible- icon buy-maximum-toys-possible-

Amit wants to buy some toys for his sister. He has X rupees in his pocket. But he is confused to buy which toy and seeking your help. Given an array consisting of cost of toys. Find the maximum number of toys he can buy with the amount X. Note: He can buy only 1 quantity of a particular toy.

calculate-power-of-a-number icon calculate-power-of-a-number

Write a function power, which will take two integers (num,pow) as argument and return the num raised to the power pow. If pow < 0 then return -1 else return num raised to the power pow.

check-balanced-parentheses-in-an-expression icon check-balanced-parentheses-in-an-expression

Check balanced parentheses in an expression star_border Given an expression only containing upper-case alphabets: A-Z, operators: /, * , +, - and characters: (,),{,},[,] used to mark start and end of parentheses, validate whether the parentheses are balanced or not.

count-words icon count-words

Write a function countWords() to count the numbers of words in a string. A word is defined as text separated by space(' ') or multiple spaces. The function will receive a string as input and return the numbers of words in this string.

cut-the-sticks icon cut-the-sticks

Given an array, lengths, of N stick lengths (where each length is a positive integer), a cut operation reduces the length of each stick in the array by the length of the array's shortest stick. A stick can only be cut if it has a length ≥ 1. Complete the cutSticks() function. Your function must perform cut operations on lengths until every stick length is reduced to 0 and return an integer array, where ith element of the array denotes the individual sticks cut during the ith operation. Your function must return an integer array or list, where ith element of the array denotes the individual sticks cut during the ith operation.

factorial-using-recursion- icon factorial-using-recursion-

Write a recursive function factorial that accepts an integer n as a parameter and returns the factorial of n, or n!. A factorial of an integer is defined as the product of all integers from 1 through that integer inclusive. For example, the call of factorial(4) should return 1 * 2 * 3 * 4, or 24. The factorial of 0 and 1 are defined to be 1. You may assume that the value passed is non-negative and that its factorial can fit in the range of type int.

fibonacci-sequence icon fibonacci-sequence

The Fibonacci numbers are a sequence of numbers where each number after the first two is a sum of the prior two. As an illustration, here is a short sequence given starting values of (0, 1) is (0, 1, 1, 2, 3, 5, 8, 13). Write a program to generate and print the first n terms of the Fibonacci sequence where n >=1.

fibonacci-sequence-using-recursion icon fibonacci-sequence-using-recursion

The Fibonacci numbers are a sequence of numbers where each number after the first two is a sum of the prior two. As an illustration, here is a short sequence given starting values of (0, 1) is (0, 1, 1, 2, 3, 5, 8, 13). Write a program to generate and print the first n terms of the Fibonacci sequence using recursion in reverse order.

find-remainder- icon find-remainder-

Write a program to find the remainder when an integer A is divided by an integer B.

leerob.io icon leerob.io

✨ My portfolio built with Next.js, MDX, Tailwind CSS, and Vercel.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.