๐ฅ 90 DAYS OF JAVA CHALLENGE
๐ DAY 02/90: Java Operators & Calculations
Welcome to Day 2, developers! ๐ป๐
Yesterday, we learned how to store and display information using Java variables. Today, we're going to make our programs perform calculations!
๐ฏ TODAY'S CHALLENGE: Smart Calculator
Build a Java program that accepts two numbers from the user and performs the following operations:
Addition (+)
Subtraction (-)
Multiplication (*)
Division (/)
Remainder (%)
๐ Requirements:
Use
Store the numbers in appropriate variables.
Use arithmetic operators to perform the calculations.
Display all five results clearly.
Handle division by zero appropriately.
โญ๏ธ BONUS CHALLENGE
Calculate the average of the two numbers and display the result.
๐งช Example Output
โณ Time limit: 30โ45 minutes
๐ค SUBMISSION RULES
Share your Java source code.
Share a screenshot of your program output.
Be ready to explain how your code works.
๐ฅ Remember: Real programmers don't just write code. They understand the logic behind it.
DAY 02/90 | LEARN โข CODE โข REPEAT
๐ DAY 02/90: Java Operators & Calculations
Welcome to Day 2, developers! ๐ป๐
Yesterday, we learned how to store and display information using Java variables. Today, we're going to make our programs perform calculations!
๐ฏ TODAY'S CHALLENGE: Smart Calculator
Build a Java program that accepts two numbers from the user and performs the following operations:
Addition (+)
Subtraction (-)
Multiplication (*)
Division (/)
Remainder (%)
๐ Requirements:
Use
Scanner to accept user input.Store the numbers in appropriate variables.
Use arithmetic operators to perform the calculations.
Display all five results clearly.
Handle division by zero appropriately.
โญ๏ธ BONUS CHALLENGE
Calculate the average of the two numbers and display the result.
๐งช Example Output
===== SMART CALCULATOR =====
Enter first number: 20
Enter second number: 6
Addition: 26
Subtraction: 14
Multiplication: 120
Division: 3.3333...
Remainder: 2
Average: 13.0
============================
โณ Time limit: 30โ45 minutes
๐ค SUBMISSION RULES
Share your Java source code.
Share a screenshot of your program output.
Be ready to explain how your code works.
๐ฅ Remember: Real programmers don't just write code. They understand the logic behind it.
DAY 02/90 | LEARN โข CODE โข REPEAT
โค1
Forwarded from Kidane Woldemariyam
Java 90 Day Coding Challenge Roadmap.xlsx
43.7 KB
Please check this roadmap template.
Regards,
Regards,
๐ฅ1
๐ฅ JAVA90 CHALLENGE | DAY 03 โ๏ธ๐ป
๐ Topic: Conditional Statements in Java
Welcome to Day 3 of our 90 Days of Code Challenge!
Today, we are learning how to make programs think and make decisions using
๐ฏ Today's Challenge: Student Grade Calculator
Write a Java program that:
Accepts a student's score from 0 to 100.
Displays the corresponding grade using these rules:
90โ100 โ Grade A
80โ89 โ Grade B
70โ79 โ Grade C
60โ69 โ Grade D
Below 60 โ Grade F
If the score is below 0 or above 100, display
๐ก Requirements:
Use
Use
Handle invalid scores correctly.
Test your program with different scores.
โณ Time limit: 30 minutes
๐ค Submission: Share your Java source code and a screenshot of your program's output in the group.
๐ Bonus challenge: Add a message:
Grade A: Excellent!
Grade B: Very Good!
Grade C: Good!
Grade D: Passed!
Grade F: Keep Practicing!
๐ฅ Remember: Don't just copy code. Understand it, write it, and test it yourself.
JAVA90 โ Learn โข Code โข Build โข Grow ๐
๐ Topic: Conditional Statements in Java
Welcome to Day 3 of our 90 Days of Code Challenge!
Today, we are learning how to make programs think and make decisions using
if, else if, else, and switch.๐ฏ Today's Challenge: Student Grade Calculator
Write a Java program that:
Accepts a student's score from 0 to 100.
Displays the corresponding grade using these rules:
90โ100 โ Grade A
80โ89 โ Grade B
70โ79 โ Grade C
60โ69 โ Grade D
Below 60 โ Grade F
If the score is below 0 or above 100, display
Invalid score!.๐ก Requirements:
Use
Scanner to receive input.Use
if-else if-else statements.Handle invalid scores correctly.
Test your program with different scores.
โณ Time limit: 30 minutes
๐ค Submission: Share your Java source code and a screenshot of your program's output in the group.
๐ Bonus challenge: Add a message:
Grade A: Excellent!
Grade B: Very Good!
Grade C: Good!
Grade D: Passed!
Grade F: Keep Practicing!
๐ฅ Remember: Don't just copy code. Understand it, write it, and test it yourself.
JAVA90 โ Learn โข Code โข Build โข Grow ๐
Forwarded from Kidane Woldemariyam
Java 90 Day Coding Challenge Roadmap.xlsx
43.7 KB
Please check this roadmap template.
Regards,
Regards,
โคโ๐ฅ2
Look at this, roadmap seriously
Because this is not only theory based its really practice based!
Goal:- Java developer
Because this is not only theory based its really practice based!
Goal:- Java developer
Challenge starts Monday with material access.
Invite friends interested in Java.
Drop โค๏ธ
Goal: Java developer.
Invite friends interested in Java.
Drop โค๏ธ
Be disciplined, not just motivated.
Goal: Java developer.
Only 65 students.
Why??? Pls invite friends the journey starts on tomorrow!
Why??? Pls invite friends the journey starts on tomorrow!
๐ซก3
Please feel free to talk on comment section!
And we will open live session if there is any confusion
And we will open live session if there is any confusion
Kidane Woldemariyam
Java 90 Day Coding Challenge Roadmap.xlsx
The roadmap is here
hey everyone!
i hope you've start the journey!
if you didn't start yet, please start๐๐
i hope you've start the journey!
if you didn't start yet, please start๐๐
โค1