Code Monkey home page Code Monkey logo

phone-directory's Introduction

Phone-Directory

This program has the following functions:

  1. creat_file-This function asks the user for the name and a number, and saves it in file and as well as linked list.

  2. checknm-This function checks whether the entered name is valid or not, if not valid the user is asked to input the name again.

  3. checkno- This function checks whether the entered number is valid or not, if not valid the user is asked to input the number again.

  4. delfile-This function deletes the name and number from the file if present, if not present it prints the data is not found.

  5. searchdelfile-This function is used when the the given name is not in the linked list, it goes to the file and checks for the name, if present deletes it or else prints data not found.

  6. terminating_file-This function deletes the name and the number from the linked list as well as file.

  7. print_now-This function prints all the names and numbers present in the linked list.

  8. modifyfile-This is used to modify the number in the file if the name is present.

  9. search-This function is used to search the name in the linked list, and it also provides an option for the user to modify the number of that particular name in the linked list.

10.searchfile- This function is used when the name is not present in the linked list. So it is used to search the name in the file, and it also provides an option for the user to modify the number of that particular name in the file.

11.print- This function prints all the names and numbers present in the file.

OUTPUT

image

image

image

image

phone-directory's People

Contributors

ronit72 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.