NOTASI ALGORITMA – KEBUTUHAN KERAMIK

Kali ini saya akan membagikan sedikit hasil tulis yang buat sebagai tugas satu mata kuliah utama saya. Yaitu menghitung kebutuhan keramik kamar / kos. Sama dengan beberapa post sebelumnya, menurut saya ini masih sederhana sehingga memungkinkan pembaca pemula untuk mengerti.

Paradigma yang saya ambil adalah sebagi berikut :

  1. Input aspek yang diperlukan (Panjang dan lebar kamar serta Panjang dan lebar keramik).
  2. Menghitung kebutuhan panjang dan lebar (Dengan membagi lebar kamar dengan lebar keramik serta panjang kamar dengan panjang keramik). Belum sampai disitu saja, kita perlu membulatkan ke atas apabila hasil pembagian tidak bulat (ceiling), karena tidak mungkin kita membeli keramik hanya setengah atau seperempat apalagi seperdelapan.
  3. Menghitung kebutuhan total (Mengalikan kebutuhan panjang dengan kebutuhan lebar).

(Maaf jika adanya kekurangan dalam segi kerapian indentasi dikarenakan tidak bisa diberi indent secara otomatis oleh karena saya copy-paste dari catatan yang saya tulis sendiri di notepad++ sebelumnya. Yang sebenarnya text aslinnya semuanya di notepad++ sudah dalam kondisi berindentasi/rapi)

 

/*
NAMA : NATHANAEL FREDERICKO W
NIM : A11.2018.10882
MAKUL : DASAR PRMROGRAMAN (TEORI)
TEMPAT : RUMAH
TANGGAL : –
PROGRAM : KEBUTUHAN KERAMIK
*/

// JUDUL
MENCARI KEBUTUHAN KERAMIK KAMAR

// KAMUS
lebar_keramik, panjang_keramik <- integer
lebar_kamar, panjang_kamar <- real
kebutuhan_lebar, kebutuhan_panjang, kebutuhan_total <- integer

// DISKRIPSI
input (lebar_keramik, panjang_keramik)
input (lebar_kamar, panjang_kamar)
kebutuhan_lebar = ceil(lebar_kamar / lebar_keramik)
kebutuhan_panjang = ceil(panjang_kamar / panjang_keramik)
kebutuhan_total = kebutuhan_lebar * kebutuhan_panjang
output (kebutuhan_total)

42 thoughts on “NOTASI ALGORITMA – KEBUTUHAN KERAMIK

  1. Hi there! I’m at work browsing your blog from my new iphone 4!

    Just wanted to say I love reading through your blog and look forward to all your posts!
    Carry on the superb work!

  2. Thank you for the good writeup. It in fact was a amusement
    account it. Look advanced to more added agreeable from you!
    However, how can we communicate?

  3. Excellent article. Keep writing such kind of info on your site.
    Im really impressed by your site.
    Hello there, You’ve performed an excellent job.
    I’ll certainly digg it and personally suggest to my
    friends. I am confident they will be benefited from this web site.

  4. Hello, Neat post. There is an issue along with your web site in internet explorer, would
    test this? IE nonetheless is the market chief and a large element of people will
    omit your fantastic writing because of this problem.

  5. Your style is very unique in comparison to other folks I
    have read stuff from. Thanks for posting when you have the opportunity, Guess I will just
    book mark this web site.

  6. Hello just wanted to give you a brief heads up and let you know a few of the pictures aren’t loading correctly.
    I’m not sure why but I think its a linking issue. I’ve tried it in two different web browsers and
    both show the same outcome.

  7. I like what you guys are usually up too. This kind of clever work and
    exposure! Keep up the great works guys I’ve added you
    guys to my own blogroll.

  8. Hey I know this is off topic but I was wondering if you knew of any widgets I could add to
    my blog that automatically tweet my newest twitter updates.
    I’ve been looking for a plug-in like this for quite some time and was
    hoping maybe you would have some experience with something like this.
    Please let me know if you run into anything.
    I truly enjoy reading your blog and I look forward to your new updates.

  9. A fascinating discussion is worth comment. I do believe that you need to write
    more about this issue, it may not be a taboo matter but typically people don’t speak about these subjects.
    To the next! Kind regards!!

  10. I have been browsing online greater than three hours lately, yet I never found any interesting article like yours.

    It’s pretty worth sufficient for me. In my opinion, if all site owners and bloggers made just right content material as you probably did,
    the net can be a lot more useful than ever before.

  11. Hi! This post couldn’t be written any better!
    Reading this post reminds me of my previous room mate!
    He always kept talking about this. I will forward this article to him.

    Pretty sure he will have a good read. Thank you
    for sharing!

  12. Thanks for the marvelous posting! I actually enjoyed reading it, you might be a great author.

    I will always bookmark your blog and will come back in the foreseeable future.
    I want to encourage yourself to continue your great job, have a nice evening!

  13. I just want to mention I am very new to blogging and absolutely savored your web blog. Most likely I’m planning to bookmark your site . You definitely come with fabulous stories. Thanks a lot for sharing with us your blog.

  14. Once you understand the reason why you feel fearful of something, you’re
    on the right track to dissolve that fear.
    I did things for myself and as a consequence did things
    together because I wanted to do it. It is really essential don’t make webcam shots of yourself, or take pictures inside mirror.

  15. I’m not sᥙгe exactly why buut this blkog іs loading extrremely slow
    fοr me. Is anyone else hacing this issue or іs it a issue oon my еnd?
    I’ll check back lɑter on and seee if the problem ѕtіll exists.

  16. What makes Mack’s Dreamgirl Soft Foam Earplugs an exceptional selection? Today, this is the most typical product of earplugs, although one of
    the most typical type is polyurethane (also used in memory foam mattresses).

    After 1946, TWA challenged Pan American Airlines for international superiority.
    Trans World Airlines (TWA) was started in 1930 and also
    ran airline company solution up until 2001. Howard Hughes became the bulk shareholder
    in the 1940s. Hughes pushed Lockheed to develop a 40-seat, 3,500
    mile-range transcontinental airliner. Eastern Airlines, based in Miami, ended up being the most famous air service
    provider on the eastern coastline in the 1960s. It was the initial airline company to
    take into service the Boeing 727 as well as the Airbus A300.

    Boeing would ultimately exceed Douglas as the world’s leading airline supplier.
    Only ten Boeing 307 Stratoliners were made, but they altered business air travel for life.

    World War Two produced massive breakthroughs in aviation navigating, radar, and also interactions.
    The Boeing 747 came to be as a result of 2 enthusiasts:
    Boeing CEO Bill Allen as well as the famous Pan Am manager Juan Trippe.

  17. I rеally like your blog.. very nice colors & theme.
    Ⅾiɗ youu maкe this website yߋurself ߋr did youu hirte
    s᧐meone to do it for үou? Plz аnswer bak aѕ I’m looқing to create my ᧐wn blog аnd would like
    to find out where u ɡot this from. thаnks ɑ lot

  18. You must cleanse your skin layer properly and apply exactly
    the best anti wrinkle creams before hitting the bed. You can ask friends and
    family or close people for suggestions or you can visit
    various online medical sites to learn more about rhinoplasty specialists
    in Beverly Hills area. Normally these fatty tissues help keep your skin tight and firm on other parts of the body
    basically stretching out fine lines.

  19. The Software may be used by an infinite number of users in your business.
    In case your webcam has HD resolution, you may also change
    it to high quality. The easiest way is to use the YouTube webcam grab attribute.
    By fixing these areas they will be able to help you deliver increased efficiency through using advanced technology.

    With these devices, we can stream HD movie to talk about our adventures –
    educate, research, and join to relatives and friends,
    no matter where they’re. People online should be in a position to use features like texts chats, audio and video conferencing as
    needed. I liked because it’s a great deal of cool video effects, using Fotofriend when recording
    your movie, which you could use in real time. First, enable access and you will automatically find a part
    of four outcomes that it is possible to select from. Simply go to the YouTube
    webpage for accessing videos to 20, and you will see a whole lot of options.

  20. “It is really a great and useful piece of information. I am satisfied that you shared this helpful information with us. Please stay us up to date like this. Thanks for sharing.”

  21. I don’t even know how I finished up here, however I thought this
    publish was good. I don’t know who you might be but certainly you are going to a famous blogger if you happen to are not
    already. Cheers!

  22. I just want to tell you that I am just all new to blogging and site-building and absolutely liked you’re web page. Likely I’m going to bookmark your site . You certainly have awesome well written articles. Many thanks for revealing your blog.

  23. Daftar sekarang juga ! © INDOCASINO | Casino Online | Daftar Casino Online | Judi Casino Android | Judi Baccarat.
    Lexus888 100% Agen Judi Online Terpercaya dengan nuansa permainan yang sangat banyak, memberikan kepastian customer service 24 jam, menangani setiap masalah pada member.
    Semua jenis transaksi yang ada, akan diproses dengan sistem
    yang sangat baik dan customer service yang profesional Anda tinggal main dan mendapatkan uang dengan sangat banyak.
    Judi slot online uang asli tersedia hingga ratusan pilihan permainan memastikan kamu tidak akan pernah
    bosan dalam bermain. Cara buat id casino sicbo dadu di JUDI JADUL mudah,
    cepat dan gratis hanya mengisi formulir register sic bo online dibawah ini secara lengkap dengan data valid.
    Game sic bo, atau “dadu berkualitas/berharga”
    Game ini biasanya dimainkan di meja dengan lampu sorot yang menyoroti semua taruhan-menang setelah tiga dadu bermata 1 sampai 6 ditempatkan dalam kerucut plastik dan dikocok.

  24. “Great blog here! Also your site a lot up fast! What web host are you the usage of? Can I get your associate hyperlink for your host? I want my site loaded up as fast as yours lol”

Leave a Reply

Your email address will not be published. Required fields are marked *