Skip to content

There are several solutions to Java problems in this repository. The code is effectively documented and readability and efficiency have been improved. Use and change the code as you see fit for your own projects.

Notifications You must be signed in to change notification settings

Majhar-98/Java-problem-solve

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Java-problem-solve

Below are the best FREE IDEs for Java programming:

  • Eclipse
  • IntelliJ IDEA
  • MyEclipse
  • Apache NetBeans

But I used IntelliJ (Community Edition) for executing this problems.

Problems are:

    1. Print prime numbers form 2 to 100.
    1. Write a program that will count number of notes from given array:
  • [1000,500,200,100,50,20,10,5,2,1]

  • Input: 562

  • Output:

  • 500 1

  • 50 1

  • 10 1

  • 2 1

    1. Find out sum of digits of a number:
  • Input: 152

  • Output: 8

    1. Count Vowels and consonants from a word:
  • Input: Dhaka

  • Output: Vowel: 2, Consonant: 3

    1. Encrypt word when A=F:
  • Input: Apple

  • Output: Fuuqj

    1. Create a program which will take input from users for registration and save the info to a json file.
  • The system will require following user info: Full Name, email, password, address, mobile no.

About

There are several solutions to Java problems in this repository. The code is effectively documented and readability and efficiency have been improved. Use and change the code as you see fit for your own projects.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages