Using Java Check whether a number is even or odd using if…else statement Check whether a number is even or odd using ternary operator
Continue reading Program to Check Whether a Number is Even or OddPrograms
Convert Char To String and a String to char
Continue reading String ProgramsJava Program to Add two Numbers Program to check number is even or odd Program to check Leap Year Program to check whether input number is prime or not Program to display the prime numbers from 1 to 100 Program to find the smallest of three numbers using ternary operator Program to check Vowel or …
Continue reading Basic ProgramsUsing Java Sum of two numbers without User input Sum of two numbers with User input The Scanner is class that allows us to capture the user input so that we can get the values of both the numbers from user. The program then calculates the sum and displays it. Using Python Using javascript
Continue reading Program to Add two Numbers