Pseudocode is given and quarter of it is already done.
The following pseudocode describes a menu-driven program:
ask the user to input one of the characters a, b, c, d, e, q
read in a character from the keyboard
if the character is
‘a’ output your name, your tutor’s name and, in case of an internal
student, your tutorial attendance day and time;
‘b’ input 3 real (floating point) numbers x, y, z and output the
largest of the three numbers and their average;
‘c’ input 2 integer numbers m and n, and display all the numbers
between m and n (both inclusive) with five numbers per
line (note that the last line may have less than 5 numbers).
At the end, display the sum of all the odd numbers between
m and n (both inclusive);
‘d’ input 3 real numbers representing the sides of a triangle and
display the numbers together with a message indicating
whether or not the numbers form a triangle (Note: for the
numbers to form a triangle, the sum of any two sides must
be greater than the third side);
‘e’ input an integer number n and determine whether or not n is a
prime number (Note: a number is a prime number if it is
greater than 1 and has no divisors other than 1 and itself) ;
‘q’ exit from the loop
other: output an error message
Implement the program in Java using a while loop and a switch statement. The
program should be well-structured and the task performed under each option (at least
for the first five options) should be implemented as a separate method
10 freelancere byder i gennemsnit $24 på dette job
Hi there, lots of experience teaching algorithms at uni level with multiple programming languages (including Java). Let me know if you're interested and I can help with this loop/switch task. Cheers!
hi, i have been using java to implement different types of algorithms and programs. i can deliver yours within 1 or 2 hours. check out my profile for any reference. let me know if you are interested.
مرحبا ، I can do the project for you. do you want to do the project using Java Swing? I am available to start the project immediately. I am waiting for your response. regards, Heba