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?
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...
This is a python program. Put comments explaining the code, please. Suppose you have been tasked...
This is a python program. Put comments explaining the code, please. Suppose you have been tasked with writing a Python program (using linked lists) to keep track of computer equipment. For each piece of equipment, we track its name, purchase date, purchase amount, and quantity on hand. Write a program that completes the following tasks: allow the user to add a piece of equipment to the front of the list; allow the user to update the quantity of a piece...
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)
a. Which of the following is NOT a fundamental feature of Bitcoin system?
a. Which of the following is NOT a fundamental feature of Bitcoin system? A. Decentralized B. Counterfeit C. Easy to decrypt D. Anonymous   b. In the context of investments in securities (stocks and bonds), portfolio risk diversification refers to    A. the time-honored adage "Don't put all your eggs in one basket". B. investors' ability to reduce portfolio risk by holding securities that are less than perfectly positively correlated. C. the fact that the less correlated the securities in...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT