100 Days of Java challenges
Day 18: Functions
1. Define a function (method) "isPrime" that takes an integer as a parameter and returns a boolean(true/false) whether the integer is a prime number
2. Define a function that takes a string as a parameter and returns the number of vowels it contains
2. Define a function that takes a string as a parameter and returns the number of vowels it contains
Day 18 - Functions
1. Define a function (method) "isPrime" that takes an integer as a parameter and returns a boolean(true/false) whether the integer is a prime number
2. Define a function that takes a string as a parameter and returns the number of vowels it contains
2. Define a function that takes a string as a parameter and returns the number of vowels it contains
Community|Blog|Youtube|Careers|Contact Us
Have Feedback or want to contribute? Email: hello[@]100DaysOfCode.io
100DaysOfCode@2024