Wednesday, July 31, 2019

Fast food automation system Essay

As usual large number of people deserves my thanks for the help they provided me for the preparation for this term paper. First of all i would like to thanks my teachers and for their support during the preparation of this topic . I am very thankful for their guidance. I would also like to thank my friends for the encouragement and information about the topic they provided to me during to me during my effort to prepare this topic. INTRODUCTION Fast food automation system is a program based on C language. Generally, in various fast food malls and stores we see a number of workers working there to give different items to people. The head of that particular mall has to give them salaries accordingly. By using this, fast food automation program the problem of workers is reduced and management of money becomes very easy. C is a programming language developed at Bell laboratories of USA in1972. It was designed and written by a man named Dennis Ritchie. Possibly C seems so popular because it is reliable, simple and easy to use. Moreover in an industry where newer languages tools and technologies emerge and vanish day in and day out, a language that has survived for more than three decades has to be really good . An opinion that is often heard today is –â€Å"C language has been already superseded by languages like C++, C# and JAVA. This project is a program on fast food automation system using C language. A function is a self contained block of statements enclosed between braces that performs a specific task. It groups a number of repeated statements in a program into a single unit and is identified by a name known as a function name. A program can contain one or more functions, but the main() function must be a part of every program. It is the main() function from which the program’s execution begins. Other additional functions must be subordinate to it and to one another. Every function in C consists of following components: Function definition Function declaration or Function prototype Function call Function definition: It is the part of function where the actual contents of the function are defined. It basically consists of first line which contains data type of the value to returned followed by name of the function and then the arguments enclosed in pair of parantheses. Syntax: Ret_type func_name(data_type par1, data_type par2,†¦.. ) function { header Local variable declaration: statement;

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.