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

  Distribute music on the internet.

an architecture for a system (such as iTunes) that is used to sell and distribute music on the Internet. What architectural patterns did you use as the basis for this architecture? Why are these patterns appropriate?

  What is the index of the component that is deleted

a. What is the index of the component that is deleted? b. What is the index of the component that takes its place? c. What does the Length operation return after the deletion? d. How many components in the list change their positions as a result o..

  Calculate and display the total retail value of all products

It should calculate and display the total retail value of all products sold. Use a sentinel-controlled loop to determine when the application should stop looping display the final results.

  Information system to support the business

As a part of the final project for this course you will be doing research for a medium size (approximately 200 employees) widget manufacturing company to do a complete evaluation of their computer needs and make recommendations to them about an in..

  How is file management utilized and managed

How is file management utilized and managed? What tools can you use? For those of you who work, how is file management managed in your place of business?"

  Show how the hodgkin-huxley fast subsystem depends

Show how the Hodgkin-Huxley fast subsystem depends on the slow variables: i.e., show how the nullcline moves as and are changed, and demonstrate the saddle-node bifurcation in which and disappear.

  Discuss the issues that managing and implementing

Discuss the issues that managing and implementing the technology architecture you would have and how you would overcome these challenges. Be sure to discuss at least three challenges.

  What avenues aspiring information security professional

What avenues should an aspiring information security professional use in acquiring professional credentials

  Significant invention which shaped society today

Pondering history of technology development, decide what you think was the most significant invention previous to the 1600s which has shaped society today. Explain your decision.

  Describe an it system which has transformed the way

discuss an it system that has transformed the way organizations in at least one field carry out work. note what

  Write a program that reads three whole numbers

Write a program that reads three whole numbers and displays the average of the three numbers.

  What is the chance of success on first attempt

What is the chance of success on the first attempt? What is the probability of exactly k collisions and then a success?

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