HackerrankPracticeProblems icon indicating copy to clipboard operation
HackerrankPracticeProblems copied to clipboard

JAVA : Java Loops I

Open Riddhi9570 opened this issue 2 years ago • 18 comments

Write your solution to this JAVA problem of hackerrank:- Problem link : Java Loops I

Riddhi9570 avatar Sep 29 '22 18:09 Riddhi9570

hey can I contribute to this issue

adityjoshi avatar Sep 30 '22 07:09 adityjoshi

Heyy.. I can contribute to this issue

sanvisharma003 avatar Sep 30 '22 12:09 sanvisharma003

Since I can assign only one issue to a contributor at a time, and have assigned an issue to @adityjoshi , I'm assigning this issue to @sanvisharma003.

Riddhi9570 avatar Sep 30 '22 18:09 Riddhi9570

@sanvisharma003 are you a hacktoberfest contributor?

Riddhi9570 avatar Sep 30 '22 18:09 Riddhi9570

yes.. i am.. actually its the first time i am taking part .. thankyou for assigning..

sanvisharma003 avatar Oct 01 '22 12:10 sanvisharma003

is this issue for hacktoberfest?

sanvisharma003 avatar Oct 01 '22 12:10 sanvisharma003

@sanvisharma003 Yes, you may please go ahead with your contribution.

Riddhi9570 avatar Oct 01 '22 13:10 Riddhi9570

Hey, Can I contribute to this issue?

RishitaGangwal avatar Oct 02 '22 11:10 RishitaGangwal

@RishitaGangwal This issue is assigned to @sanvisharma003 . You can raise a new issue for another problem. Thanks!

Riddhi9570 avatar Oct 02 '22 11:10 Riddhi9570

Can I contribute to your issues?

Uday-kiran9147 avatar Oct 03 '22 01:10 Uday-kiran9147

Hey @Uday-kiran9147 Thanks for asking. You may please raise a new issue or claim an issue which is not assigned to anyone.

Riddhi9570 avatar Oct 03 '22 05:10 Riddhi9570

https://github.com/sanvisharma003/HackerrankPracticeProblems/blob/main/hackerrank%20JAVA%20loop%201

i created the code and tried to make a PR but i think due to some issue you haven't recieved it.. please do check once.

sanvisharma003 avatar Oct 03 '22 07:10 sanvisharma003

Sure.

On Mon, 3 Oct 2022, 1:30 pm Sanvi Sharma, @.***> wrote:

https://github.com/sanvisharma003/HackerrankPracticeProblems/blob/main/hackerrank%20JAVA%20loop%201

i created the code and tried to make a PR but i think due to some issue you haven't recieved it.. please do check once.

— Reply to this email directly, view it on GitHub https://github.com/Riddhi9570/HackerrankPracticeProblems/issues/24#issuecomment-1265073595, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVC2D7VOX335E3U5UQL4A4LWBKHATANCNFSM6AAAAAAQZA2KQ4 . You are receiving this because you were mentioned.Message ID: @.***>

RishitaGangwal avatar Oct 03 '22 08:10 RishitaGangwal

Hey! @Riddhi9570 Assign me this issue, with #Hactoberfest https://www.hackerrank.com/challenges/java-substring/problem?isFullScree

Uday-kiran9147 avatar Oct 04 '22 01:10 Uday-kiran9147

Hey, @Uday-kiran9147 this hackerrank problem is already present in the repo.

Riddhi9570 avatar Oct 04 '22 07:10 Riddhi9570

Hey ! @Riddhi9570 Assign me this issue with #Hacktoberfest I since those are missing and not assign to anyone https://www.hackerrank.com/challenges/java-bigdecimal/problem?isFullScreen=true https://www.hackerrank.com/challenges/java-primality-test/problem?isFullScreen=true https://www.hackerrank.com/challenges/java-biginteger/problem?isFullScreen=true

Mspurohit15 avatar Oct 05 '22 06:10 Mspurohit15

can you assign this issue to me ?

sp-gits avatar Oct 18 '22 20:10 sp-gits

class FactorialExample2{
static int factorial(int n){
if (n == 0)
return 1;
else
return(n * factorial(n-1));
}
public static void main(String args[]){
int i,fact=1;
int number=6;//It is the number to calculate factorial
fact = factorial(number);
System.out.println("Factorial of "+number+" is: "+fact);
}
}

Explain this step by step please

20a31a05g6 avatar Oct 24 '22 16:10 20a31a05g6