Design an algorithm to input student records

Assignment Help Basic Computer Science
Reference no: EM13859278

Design an algorithm to input student records; each record contains a student name, registration code, and credits field. A registration code of 1 indicates that the student is a resident. A registration code of 2 indicates that the student is a nonresident. A value of 12 or more in the credits field indicates full-time (FT) status. A lesser value indicates part-time (PT) status. Output a detail line for each student containing the student's name and a tuition amount computed as follow:

  • FT resident $1200.00 flat fee
  • PT resident $ 100 per credit
  • FT nonresident $2760.00 flat fee
  • PT nonresident $230.00 per credit

Five total lines are also to be output as follows:

  • Total number of FT resident students
  • Total number of PT resident students
  • Total number of FT nonresident students
  • Total number of PT nonresident students
  • Total number of students

Use automatic end-of-file logic to signal the end of the input.

 

 

Reference no: EM13859278

Questions Cloud

What is the margin of safety in units : Dr. Jain performs a certain procedure for $400.00. The fixed costs are $8,000 and variable costs are $200.00 per procedure. What is the margin of safety in units assuming the procedure is performed 200 times ?
How can you make process improvements permanent : How can you make process improvements permanent? What examples have you seen in your work place of the cost of quality? Is it something your company is focused on reducing
Defines management accounting : Question 2CIMA defines management accounting as:"The application of the principles of accounting and financial management to create, protect,preserve and increase value for the _________________ of for-profit and not-for profitenterprises in the publ..
Calculate normalised values of the mid-point values : calculate normalised values of the mid-point values. Compare these to normalised end-point values and discuss why there may be differences. Use European and Worldwide values.
Design an algorithm to input student records : Design an algorithm to input student records; each record contains a student name, registration code, and credits field. A registration code of 1 indicates that the student is a resident. A registration code of 2 indicates that the student is a nonre..
Combinatorics-passing by reference : Create a new project (called, for example, "homework05"), for this assignment. Do not use spaces in the name. Follow the same process as you did in the first assignment; if you need a refresher, please refer back to Homework 1.
Use matlab to verify the central limit theorem : Use Matlab to verify the central limit theorem for the sum of N independent exponential RVs (with a=0 and b=2) for N= 10 and 20. Repeat for the sum of N independent Weibull RVs (with a=1 and b=4). Comment on the fit to the approximate Gaussian pdf..
Write an algorithm for the hangman game : 1 Write an Algorithm for the Hangman game(include step by step instructions for the game)2 Variable list for Hangman    Variable Name           Data Type        What it holds
What is the daily capacity of the assembly line : What is the daily capacity of the assembly line designed by the engineers? When it is running at maximum capacity, what is the efficiency of the line

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Artificial intelligence systems form a broad

Artificial intelligence systems form a broad and diverse set of systems that can replicate human decision making for certain types of well-defined problems.

  Digital forensic investigator for a healthcare organization.

Imagine you are a digital forensic investigator for a healthcare organization. You learn from your internal information security department that an employee has been using password-cracking software to access confidential customer insurance informati..

  Create a new file called testwork

Create a new file called TestWork.scr Change the permissions on this new file to add the execute bit for user, group, and owner.

  The average and how many scored below

Professor Merlin has asked you to help him. He has 100 total students in his four classes but he is not sure that all of them took his last exam. He wants to average the grades for his last exam in four sections of his medieval literature course and ..

  Oxygen gas has an oxidizing strength comparable to that

Oxygen gas has an oxidizing strength comparable to that of nitric acid. Patina is a green or greenish-blue coating that forms on copper metal in the environment. Account for its formation.

  Write lines of code as instructed in steps

Write lines of code as instructed in Steps

  Minimum-spanning-tree problem for lp formulation

The minimum-spanning-tree problem is to find an acyclic subset T + E that connects all of the vertices and whose total weight c(T ) = ce is minimized. Write down the dual of your LP formulation.

  What are some factors or requirements

What are some factors or requirements when designing an Active Directory Infrastructure. How do you gather the requirements for the design? Please explain in approximately in two paragraphs.

  Item number in the inventory

Write a console program that will ask the user for an item number in the inventory and display the name of that item. Stay in a loop so that the user may enter the item number multiple times. Use the letter E to exit the application. Show an error me..

  Describe how you have represented super type

Convert this data model to a database design. Specify tables, foreign keys and primary keys, using figure 6-41 as a guide, specify column properties.

  Show that if l is regular then other may not be context-free

Given a language L we define perm(L) to be the language obtained by taking all the permutations of all the words of L. Show that if L is regular then perm(L) may not even be context-free.

  Class polygon which draws a hexagon for a set of numbers

Write a class Polygon which draws a hexagon for a set of numbers given by the user. You must only use method drawLine of class Graphics (other fill or draw methods won't be accepted).

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd