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

  How large are they in terms of number of employees

Brief description of the software, including cost: Discuss the possibility of integrating with other software being recommended. Advantages and disadvantages of using the software. Information about the vendor: How long have they been in business? Ho..

  Write a while or do-while loop

If the user enters a number that is not on the interval, informatively re-prompt until the user enters an appropriate number.

  What are some uses for wrapper classes

Wrapper classes are classes that surround primitive types with additional functionality. What are some uses for wrapper classes? Show some examples of how they could be used.

  What are three benefits that the osi model offers

The TCP/IP model has been in use for years before the OSI layered model was released. Today, TCP/IP is the protocol that is used for Internet communications. However, the practicality of the TCP/IP did not make the OSI model irrelevant.

  The information security officer at a medium-sized company

The CIO asks you to explain why you believe it is important to secure the Windows and Unix/Linux servers from known shortcomings and vulnerabilities. Explain to your CIO what you can do to make sure the network infrastructure is more secure.

  What is the maximum number of bytes

What is the maximum number of bytes that can be included in a UDP payload. The value in the Length field is the length of what

  All the aggregation relationships

Give an example of aggregation. Your example should include at least one aggregate object and three component objects. Specify the multiplicities at each end of all the aggregation relationships

  The low and high integer in a range of integers

The low and high integer in a range of integers

  How computer technology has changed our society

How have the major players including the government either made these statements true or false? What are examples of why or why not.

  Jane''s farm stand sells a variety of vegetables

Jane's farm stand sells a variety of vegetables. Write a program that produces an output file of vegetables sold, sorted by the biggest selling vegetable in terms of money made to the poorest selling.

  A priority encoder has 2^n inputs

A priority encoder has 2^n inputs. It produces an N-bit binary output indiciating the most significant bit of the input that is TRUE, or 0 if none of the inputs are TRUE

  Monte carlo simulation of rolling a pair of dice

Construct an Excel-compatible worksheet for a Monte Carlo simulation of rolling a pair of dice - Write a brief paragraph describing the application.

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