pratik-choudhari / AlgoCode

Welcome everyone!🌟 Here you can solve problems, build scrappers and much more💻
https://github.com/pratik-choudhari/AlgoCode
MIT License
131 stars 166 forks source link

Maximum Number Of Handshakes #329

Closed pallavivaswani closed 3 years ago

pallavivaswani commented 3 years ago

Feature ✅

Description

The user is asked to take a number as integer n and find out the possible number of handshakes. For example, if there are n number of people in a meeting and find the possible number of handshakes made by the person who entered the room after all were settled.

Hint:

nC2 calculated as n*(n-1)/2

Example

Input:

N=15

Output:

Max. no. of handshakes = 105

Explanation:

(15*14)/2 = 105

Checklist:

Contributors are supposed to mention their coding language while asking for assignment

alvinuday commented 3 years ago

Hi , i would like to code a program for this issue in python, could you please assign it to me

therupdeep commented 3 years ago

@pallavivaswani i would like to do this in Java. Please assign this to me.

pratik-choudhari commented 3 years ago

@alvinuday You are been assigned to 2 issues which is max limit for this repository.

subhadeep1912 commented 3 years ago

hi i would love to implement the code in C#, C++ and C. Can I still work on it? If yes can you assign me, Thank you

drashtipatel2503 commented 3 years ago

Can I code in python?