Day 9 of #50DaysOfCode – Java Today I practiced loops and arithmetic operations by writing a program to find the factorial of a given number. 💻 What I did: Took a number as input from the user Used a for loop to multiply numbers from 1 to n Displayed the factorial result 🧠 Concepts learned: Loops (for) Multiplication operations (*) Input/output using Scanner Step-by-step progress in Java! 💪 #Java #CodingJourney #LearnInPublic #Programming #50DaysOfCode

To view or add a comment, sign in

Explore content categories