Preview

Programming Mini Project

Satisfactory Essays
Open Document
Open Document
1010 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Programming Mini Project
SOFTWare design
FLOWCHART
Start

define SIZE 52 int getInput1(void); int getBalance(void); int dispData(void); int countAge(void); void getName(char first_name[10]); void getName2(char last_name[10]); int main(void)

Declare num,ic, first_name[10],last_name[10], soal,i

Print
WELCOME TO Intelligence Tech ptd.ltd
Main Menu:-)
This smart card reader provides you some applications.You can check: A:Your balance for Rapid Card B:Your originated region<read from your MyKAD> C:Your age
In one time

i

Print Enter your identification card number

Read ic

soal!=’n’

Print Do you want to proceed? TRUE
Read soal

soal

TRUE

‘y’

Call functions getName(first_name); getName2(last_name) getBalance() countAge() dispData() num=getInput1()

TRUE ‘n’

Print Bye.Bye FALSE

Stop

FunctiondispData()
Function countAge
Function getName2(last_name)
Function getName(first_name)

Declare I,state[SIZE]
Declare year1=2011,year,age

Read last_name
Read first_name

Read year i=0;i<SIZE;i++ Age=year1-year
Function getBalance

Print state

Read balance

Function getinput(void)
Display age

Display balance

Print you need to topup balance<10 TRUE

Print Thanks for using our service.
Balance>=10

FALSE

num

Johor
1,21,22,23,24

FALSE

You May Also Find These Documents Helpful

  • Good Essays

    Bring your data to the blackboard and enter your data into the tables drawn there.…

    • 1106 Words
    • 5 Pages
    Good Essays
  • Satisfactory Essays

    CEIS100 W5 ILab Report

    • 320 Words
    • 2 Pages

    The objective was to create a program using python. The program should successfully ask the user to input his or her name. Then ask the user to enter his or her age. If they are older than 16 then they can drive a car. Display this message along with their name. Then end the program by stating the users name, and that it is nice to meet them.…

    • 320 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    ElizabethFlaimFP

    • 1289 Words
    • 7 Pages

    Problem Definition: Design a program that allows a user to input a list of family members, along with their age and the state where they live. The program will determine and print the average age of the user’s family. The program will also print the names of any family member that lives in Texas. The program design should also allow the user to enter at least 50 family members.…

    • 1289 Words
    • 7 Pages
    Good Essays
  • Satisfactory Essays

    Comp230 W2 Ilab

    • 1120 Words
    • 5 Pages

    Student Name | | Class | Comp230 | Date | 5/16/2013 | VBScript IPO VBox Lab Report ' VBScript: NameAge.vbs ' Written by: ' Date: 5/16/2013 ' Class: Comp230 ' Professor: Giao Dau ' = == == == ==…

    • 1120 Words
    • 5 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Ms Project Lesson 3

    • 298 Words
    • 2 Pages

    When you do not want the duration of a certain task to change. If you have a four day review for everyone on the project, when you assign more resources to that task, the days decrease, this is when you do not want effort driven scheduling. You want it to stay at 4 days.…

    • 298 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Cs Programming Chapter 1

    • 2450 Words
    • 10 Pages

    ____ data items may involve organizing or sorting them, checking them for accuracy, or performing calculations with them.…

    • 2450 Words
    • 10 Pages
    Satisfactory Essays
  • Best Essays

    Linux Course Project

    • 2602 Words
    • 11 Pages

    In the workplace today there are many different options for operating systems be they providers of server related services or end-user desktops there is a different Linux distribution for many different applications. There are also a number of advantages and disadvantages to adding onto or switching network operating systems within a company. In the following pages I would like to discuss some of the different options available to us and what apparent advantages the offer along with their disadvantages. Many operating systems are fundamentally the same. Servers provide access to files and information stored remotely within the network, while workstations provide application support as well as connectivity to the World Wide Web. You might say that when we talk about network operating systems there are generally two sides to the coin in a large network. The side of the workstation and the end-user, and the side of the server providing cloud storage, e-mail, and other remote end-user services.…

    • 2602 Words
    • 11 Pages
    Best Essays
  • Good Essays

    “New York Freelance Technology is a web based organization affiliated with Montana Freelance Technology and GMR Web Services that continues to give you quality hosting at an affordable cost.” (New York Freelance Technology, 2011) Not only does NY Freetech perform web specific tasks, they also handle numerous person to person tasks such as custom computer building, videography and DVD authoring. Their web related tasks include web design, web development, graphics design, web hosting and DNS (domain name system). One thing NY Freetech does not have is a support forum for their customers. To contact customer service, currently you have to email them and wait for a reply. What is needed is a support forum. Customers or prospect customers can post in the forums and ask questions and the administrators can answer the questions. If other customers or users know the answer to the question, they can also answer. That will help the customers questions get answered faster. Upon reviewing the company website, I noticed there was no support forum. There is a small FAQ (frequently asked questions) but no forum. The personnel involved in the project have a certain role they must play, the steps of the program development cycle must be followed and the project should be performed in a modular fashion. For every task performed in any organization, personnel involved have roles they must play.…

    • 930 Words
    • 4 Pages
    Good Essays
  • Good Essays

    COS wa 10

    • 297 Words
    • 2 Pages

    Create a set/list of enumerated constants called week that contains the days of the week. Have a variable called today that is of type week. Assign a value to today. If the day is Monday through Friday, print "Go to work!" If the day is Saturday or Sunday, print "You can rest today!"…

    • 297 Words
    • 2 Pages
    Good Essays
  • Good Essays

    You are thinking of starting a small express oil change service center. Before you begin, you need to evaluate what you think your monthly expenses will be. You’ve started a workbook, but need to complete the entries and add formulas.…

    • 516 Words
    • 3 Pages
    Good Essays
  • Good Essays

    Concept Programing

    • 443 Words
    • 3 Pages

    a) Find a candidate loop invariant I. Show the induction steps using which you find I.…

    • 443 Words
    • 3 Pages
    Good Essays
  • Good Essays

    Coding Tips

    • 1061 Words
    • 5 Pages

    The term first-listed diagnosis/condition is used in the outpatient setting in lieu of principal diagnosis, once again because of the timing. Often, diagnoses are not established at the time of the initial encounter in the outpatient setting and it may take two or more visits prior to a confirmed diagnosis. The documentation to support the reason for the visit should describe the patient's condition, using terminology that includes either specific diagnoses and/or symptoms, problems, or reasons for the encounter. In the instance where a discrepancy is discovered, determining the first-listed diagnosis per the coding conventions of ICD-9-CM, as well as the general and disease-specific guidelines within ICD-9-CM, will have precedence over the outpatient guidelines.…

    • 1061 Words
    • 5 Pages
    Good Essays
  • Better Essays

    Computer programs can help us solve everyday issues that might seem impossible. Household budgeting is an issue that burdens many Americans. Every individual is ultimately responsible for managing his or her finances. Developing a computer program that can help individuals manage their budget will greatly improve their life quality. The program would have to follow the program development cycle model and use the modular approach.…

    • 890 Words
    • 4 Pages
    Better Essays
  • Satisfactory Essays

    B. Helga can check the field or type in the data in the pivot table.…

    • 985 Words
    • 5 Pages
    Satisfactory Essays
  • Good Essays

    There are reports of abuse in nursing homes every year. There are many types of abuse reported as well. Even though there are many reports there are also many cases that are not reported. Elderly being abused puts them in an even more vulnerable position that what they were in. They now have to fear for their lives from the people who should be taking care of them. With reported cases and non-reported cases the abuser is rarely punished which makes the situation much worse. Elder abuse in nursing homes has grown at an alarming rate and not being reported and I firmly believe that the punishment should be increased for these abusers such as licenses being pulled and state stepping in more to investigate.…

    • 600 Words
    • 3 Pages
    Good Essays