Skip to content

Cubicl3s/app-dev-task.3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

Java Beginner Problems

This repository contains 2 simple Java problems designed to help beginners build logic and improve their programming skills.

1. Simple Calculator Using Switch Case

Problem: Write a Java program that takes two numbers and an operator (+, -, *, /) as input and performs the corresponding operation using a switch case.

Example:

Input: 5, 3, +  
Output: 8  

2. Number Pyramid Pattern

Problem: Write a Java program to print a number pyramid pattern using loops.

Example:

Input: 5  
Output:
    1  
   2 2  
  3 3 3  
 4 4 4 4  
5 5 5 5 5  

About

"Day : Monday | Date : 17 March, 2025"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published