Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Other Discussions
  3. Article Writing
  4. programmin

programmin

Scheduled Pinned Locked Moved Article Writing
pythonsecuritysales
3 Posts 3 Posters 4 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    Raiven x
    wrote on last edited by
    #1

    A Housing Society in a newly developed Smart City has provided
    several advanced security systems to each house in that city. Based
    on the value of these advanced security systems installed in each
    house, the Society has divided all the houses in four categories and
    fixed the criteria for annual maintenance charges.
    Write a python program to accept customer id, customer name, house
    category and cost of house for n customers.
    The program should define and call a programmer defined function
    with house category and cost of house as parameters and return the
    final cost of house after calculating maintenance charges using
    following table:
    House Category Maintenance charges
    A 8% of house cost
    B 6% of house cost
    C 4% of house cost
    D 3% of house cost
    The program should calculate the total cost of house (cost of house +
    maintenance charges) and store customer id, customer name and
    total cost of house in lists.
    The program should display customer id, customer name and total
    cost of house in form of a table. The total cost of house must be
    displayed in OMR.
    Note: Use f-string and escape sequence characters wherever possible.
    Include the following comments at the beginning of your code. Make sur

    Greg UtasG OriginalGriffO 2 Replies Last reply
    0
    • R Raiven x

      A Housing Society in a newly developed Smart City has provided
      several advanced security systems to each house in that city. Based
      on the value of these advanced security systems installed in each
      house, the Society has divided all the houses in four categories and
      fixed the criteria for annual maintenance charges.
      Write a python program to accept customer id, customer name, house
      category and cost of house for n customers.
      The program should define and call a programmer defined function
      with house category and cost of house as parameters and return the
      final cost of house after calculating maintenance charges using
      following table:
      House Category Maintenance charges
      A 8% of house cost
      B 6% of house cost
      C 4% of house cost
      D 3% of house cost
      The program should calculate the total cost of house (cost of house +
      maintenance charges) and store customer id, customer name and
      total cost of house in lists.
      The program should display customer id, customer name and total
      cost of house in form of a table. The total cost of house must be
      displayed in OMR.
      Note: Use f-string and escape sequence characters wherever possible.
      Include the following comments at the beginning of your code. Make sur

      Greg UtasG Offline
      Greg UtasG Offline
      Greg Utas
      wrote on last edited by
      #2

      Your post is misplaced. This forum is for discussing topics related to writing articles. You should have posted this using the link quick answers/Ask a Question[^]. However, "please write my code for me" questions are frowned upon. You are expected to actually show some code that you've written before asking for help.

      Robust Services Core | Software Techniques for Lemmings | Articles
      The fox knows many things, but the hedgehog knows one big thing.

      <p><a href="https://github.com/GregUtas/robust-services-core/blob/master/README.md">Robust Services Core</a>
      <em>The fox knows many things, but the hedgehog knows one big thing.</em></p>

      1 Reply Last reply
      0
      • R Raiven x

        A Housing Society in a newly developed Smart City has provided
        several advanced security systems to each house in that city. Based
        on the value of these advanced security systems installed in each
        house, the Society has divided all the houses in four categories and
        fixed the criteria for annual maintenance charges.
        Write a python program to accept customer id, customer name, house
        category and cost of house for n customers.
        The program should define and call a programmer defined function
        with house category and cost of house as parameters and return the
        final cost of house after calculating maintenance charges using
        following table:
        House Category Maintenance charges
        A 8% of house cost
        B 6% of house cost
        C 4% of house cost
        D 3% of house cost
        The program should calculate the total cost of house (cost of house +
        maintenance charges) and store customer id, customer name and
        total cost of house in lists.
        The program should display customer id, customer name and total
        cost of house in form of a table. The total cost of house must be
        displayed in OMR.
        Note: Use f-string and escape sequence characters wherever possible.
        Include the following comments at the beginning of your code. Make sur

        OriginalGriffO Offline
        OriginalGriffO Offline
        OriginalGriff
        wrote on last edited by
        #3

        Even if you posted this in the right place, you aren't going to get what you want. While we are more than willing to help those that are stuck, that doesn't mean that we are here to do it all for you! We can't do all the work, you are either getting paid for this, or it's part of your grades and it wouldn't be at all fair for us to do it all for you. So we need you to do the work, and we will help you when you get stuck. That doesn't mean we will give you a step by step solution you can hand in! Start by explaining where you are at the moment, and what the next step in the process is. Then tell us what you have tried to get that next step working, and what happened when you did. If you are having problems getting started at all, then this may help: How to Write Code to Solve a Problem, A Beginner's Guide[^]

        "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt AntiTwitter: @DalekDave is now a follower!

        "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
        "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups