Write the java Program to reverse the letters present in the given string.
Write the java program that calculates maximum of the given two numbers.
Develop a simple calculator in java with full of operations.
Note: the program should take the input value from users and perform the activities like:
Accordingly, the operations in this program should have the above options so as to perform all computing activities.
Develop a simple calculator in java with full of operations.
Note: the program should take the input value from users and perform the activities like:
Create a program that takes in a student first name and average mark obtained, the system should the group the students using the first vowel in their name. For example if the student name is Jena, then the student belongs to group E and if the name was Jack then the student belongs to group A[HINT: Make use of the indexOf() and contains() methods from the string class]. The program should further categorize the mark is follows:
Marks obtained
Grade Level
Message
80 – 100
1
Magnificent!!
70 – 79
2
Excellent!!
60 – 69
3
Good work!!
50 – 59
4
Good!!
0 – 49
Fail – Try again next Year!!
Greater than 100 or
less than 0
X
Invalid Marks!!, Marks too high. Or Invalid Marks!!, Negative marks not allowed.
Sample run 1:
Enter student full names: Johnathan
Enter average mark obtained: 88
Output: Hi Johnathan, you were placed in group O
Grade Level: 1
Comment: Magnificent!!
Using a loop create a program that will prompts the user for two numbers and then print out summation list of all the between the two given numbers, starting fron the small number to the big number. For negative numbers use brackets when printing the summation.
Using a loop create a program that will prompts the user for two numbers and then print out summation list of all the between the two given numbers, starting fron the small number to the big number. For negative numbers use brackets when printing the summation.
Sample Run1
Enter two numbers: 1 10
Output1: Sum = 1+2+3+4+5+6+7+8+9+10 =55
Sample Run2
Enter 2 numbers:-33
Output2: Sum=(-3)+(-2)+(-1)+0+1+2+3=0