Question: DO THE FOLLOWING CODING IN JAVA PROGRAMMING LANGUAGE ONLY AND SEND THE CODE PLEASE: Q1. Print the following pattern. Q2. Take two integers as input

DO THE FOLLOWING CODING IN JAVA PROGRAMMING LANGUAGE ONLY AND SEND THE CODE PLEASE: Q1. Print the following pattern. Q2. Take two integers as input from the user. Print all odd numbers that fall within the range of those two integers. For example, if user inputs 40 and 79, you have to print all odd numbers from 40 to 79. Q3. Take two integer inputs from user and store them in a and b. Now calculate a to the power of b (ab). Q4. Take the mathematical series given below: ... + 3 ^n Here user will give the n as input and your job is to calculate the sum of this mathematical series. Q5. Take 10 characters as input from user. Check if it's a vowel or consonant. If it's a vowel. print "It's a vowel". If it's a consonant, move to the next input. If the user inputs "b" or "z", exit the loop and print "Critical error". Assume user inputs all characters in lowercase. Q6. Write a program to print out all Armstrong numbers between 1 and 999. If sum of cubes of each digit of the number is equal to the number itself, then the number is called an Armstrong number. For example, 153 = (1 * 1 * 1) + (5 * 5 * 5) + (3*3* 3)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
