Home.Literature.
Help.
  • Contact Us
  • FAQ
Log in / Sign up
  • Log in / Sign up
  • Post a question
  • Home.
  • Literature.
  • Help.
  • Contact Us
  • FAQ
  • Summary

    kourtne2004
    TasiaEllington_RecursiveAlgorithm.docx
    Home>Computer Science homework help>Summary

    Learning Team Recursive Algorithm

    Tasia Ellington

    Jewel White

    William McKown

    DAT/305

    December 17, 2018

    When looking for specific textbooks:

    //Program requests input of Title to search

    “Enter Book Title or Word related to Title”

    //User inputs search data

    Check to see if data matches any book title

    If

    Title is found

    print “Title name” and “inventory number” associated with it

    Else

    search paragraph strings for words in title

    If

    Words are found

    print “coinciding title names” and “inventory numbers” associated with those titles

    Else

    Search sentence strings for words in title

    If words are found

    Print “coinciding title names” and “inventory numbers” associated with those titles

    else

    Print “ Book not found in system”

    /** Recursive method length (in RecursiveMethods.java).

    @param str The string

    @return The Length of the string

    */

    public static int textbooktitle(String str) {

    if (str == null || str .isEmpty())

    return 0;

    else

    return 1 + textbooktitle(str .substring(1));

    }

    */

    public static int chaptertitle((String str) {

    if (str == null || str .isEmpty())

    return 1;

    else

    return 2 + chaptertitle(str .substring(2));

    }

    */

    Public static int paragraph(String str) {

    if (str == null || str .isEmpty())

    return 2;

    else

    return 3 + page(str .substring(3));

    }

    */

    public static int page(String str) {

    if (str == null || str .isEmpty())

    return 3

    else

    return 4 + page(str .isEmpty(4));

    }

    1. Applied Sciences
    2. Architecture and Design
    3. Biology
    4. Business & Finance
    5. Chemistry
    6. Computer Science
    7. Geography
    8. Geology
    9. Education
    10. Engineering
    11. English
    12. Environmental science
    13. Spanish
    14. Government
    15. History
    16. Human Resource Management
    17. Information Systems
    18. Law
    19. Literature
    20. Mathematics
    21. Nursing
    22. Physics
    23. Political Science
    24. Psychology
    25. Reading
    26. Science
    27. Social Science
    28. Liberty University
    29. New Hampshire University
    30. Strayer University
    31. University Of Phoenix
    32. Walden University
    • Home
    • Homework Answers
    • Archive
    • Tags
    • Reviews
    • Contact
    Copyright © 2026 SweetStudy.com (Step To Horizon LTD)