Question

In: Computer Science

You are tasked to code a software prototype of this feature in Java. The system will...

You are tasked to code a software prototype of this feature in Java.

The system will be provided the course code, course name, CRN, the total number of students, course credit hours.   The system should calculate and display the following statistics:

  1. Total student credit hours, which is the total number of students times course credit hours.
  2. FTE for the course, which is the total student credit hours divided by 40.
  3. Total amount of tuition generated in USD from the course. The instate undergraduate tuition at this college is $350.12 per credit.

Solutions

Expert Solution

CODE IN JAVA:

Course.java file:

import java.util.Scanner;
public class Course {

   public static void main(String[] args) {
       // TODO Auto-generated method stub
       Scanner sc = new Scanner(System.in);
       System.out.print("Enter the course code:");
       String courseCode = sc.nextLine();
       System.out.print("Enter the course name:");
       String courseName = sc.nextLine();
       System.out.print("Enter the CRN:");
       String crn = sc.nextLine();
       System.out.print("Enter the number of students:");
       int numberOfStudents = sc.nextInt();
       System.out.print("Enter the course credit hours:");
       int courseCreditHours = sc.nextInt();
       int totalHours = numberOfStudents*courseCreditHours;
       System.out.println("Total Student credit hours:"+totalHours);
       System.out.println("The FTE for the course is:"+(totalHours/40.0));
       System.out.println("The total amount of tution generated for this course: $"+(totalHours*350.12));
      
   }

}
OUTPUT:


Related Solutions

Your company is tasked with creating software for a home security system.
1. Consider the following:Your company is tasked with creating software for a home security system. The software helps manage all the security cameras and devices installed in the house, relays communications between all parties, and provides a “dashboard” mechanism for homeowners and security personnel to access and monitor.Develop 8 to 10 requirements concerning this scenario.2. What is a “recommendation system” and how can it assist in requirements engineering? What tools can be used to assist in requirements gathering?
IN JAVA your software company has been requested to provide a prototype program performing the simple...
IN JAVA your software company has been requested to provide a prototype program performing the simple statistical evaluations. You will need to implement a main program that reads the values into the array (or you could write another method to read them in), then call each of the various methods that you will convert from your previous programming project. The following methods comprise the StatPackage. The function specifications are as follows: Your StatPackage will accept up to 500 values as...
write down the java code for garden sprinkler system.
write down the java code for garden sprinkler system.
You are a software development employee at a startup company. Your HR department has tasked the...
You are a software development employee at a startup company. Your HR department has tasked the IT department with developing a simple application (Windows Form Application) to load and display employee records. Your application will need to do the following: Create an Employee Class with the following properties: First Name Last Name Street Address City State Zip Create a sub class for Managers which inherits from the Employee Class. The Manager class will have the following additional properties: Cost Center...
Explain why there is more to system integration than simply recompiling the code of the software.
Explain why there is more to system integration than simply recompiling the code of the software.
You are tasked with designing an ICS/SCADA system. You must choose a type of ICS/SCADA system...
You are tasked with designing an ICS/SCADA system. You must choose a type of ICS/SCADA system from the options listed below: Correctional facility Paint processing plant Water distribution facility Considering the type of system you chose from the list above, discuss the model you would use (time or event-based or a combination) and for what purposes. What considerations do you need to take into account in your design? How does the PLC fit into this system?
Convert the attached C++ code to working Java code. Be judicious in the change that you...
Convert the attached C++ code to working Java code. Be judicious in the change that you make. This assignment is not about re-writing or improving this code, but rather about recognizing the differences between C++ and Java, and making the necessary coding changes to accommodate how Java does things. PLEASE DO NOT use a built-in Java QUEUE (or any other) container. Additional resources for assignment: #include <iostream> #include <string> using namespace std; class pizza { public: string ingrediants, address; pizza...
Problem specifications: You are tasked with developing a complete temperature conversion program in Java. Your program...
Problem specifications: You are tasked with developing a complete temperature conversion program in Java. Your program should: -prompt the user with the following menu: -1-Convert Fahrenheit to Celcius -2-Convert Celcius to Fahrenheit -3-Quit Program The menu must be coded in its own method. -If user select option 1 then call a method that prompts the user to enter a value in degrees Fahrenheit and return it back to main. -call a method that converts from Fahrenheit to Celcius -call a...
Suppose you are tasked with explaining health care and the health care system in the united...
Suppose you are tasked with explaining health care and the health care system in the united states to either: a) a five year old or b) an anthropologist from another planet (who has access to a basic translator) In either case, assume the individual knows that people get sick and that resources are scarce. Everything else you must explain simply. (3pts) Your answer should include: Demand uncertainty, medical effectiveness uncertainty, Medicare, Medicaid, health insurance, hospital, doctor/provider. (7pts)
can you please convert this python code into java? Python code is as shown below: #...
can you please convert this python code into java? Python code is as shown below: # recursive function def row_puzzle_rec(row, pos, visited):    # if the element at the current position is 0 we have reached our goal    if row[pos] == 0:        possible = True    else:        # make a copy of the visited array        visited = visited[:]        # if the element at the current position has been already visited then...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT