Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Write a Java program that checks the course availability and instructors of programming courses, as shown in Table 1. Other programming courses which are
Write a Java program that checks the course availability and instructors of programming courses, as shown in Table 1. Other programming courses which are not listed in Table 1 are considered not available. Table 1. List of Programming Courses Course Name Java, Python C++, C# R, Go Instructor Availability Status Dr. Zaidatol Haslinda Available Dr. Goh Say Leng Available Dr. Carolyn Salimun Available The program must include at least TWO (2) methods, excluding the main() method. Name the two methods as coursePref() and courseInfo(). The program starts by reading the user's | name via the console. Once a user's name is typed in on the console, call the coursePref() method to read FIVE (5) course names from user input via the console and call courseInfo() method to check on the availability and instructor of each course. Convert the user's name and course names into uppercase letters. Test data: Student name: Alana Olumis Jon www Course No.1: Java Course No.2: c++ ww Course No.3: Go Course No.4: JavaScript Course No.5: swift Expected output: Hi ALANA OLUMIS JON 1. JAVA course is available The instructor is Dr. Zaidatol Haslinda 2. C++ course is available The instructor is Dr. Goh Say Leng 3. GO course is available The instructor is Dr. Carolyn Salimun 4. JAVASCRIPT course is not available 5. SWIFT course in not available
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Heres a Java program that fulfills your requirements import javautilScanner public class CourseAvail...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started