Giter Club home page Giter Club logo

asd_task_1's Introduction

Task_1

Task 1 : Introduction to C++

  1. fork dan clone repositori ASD_Task_1
  2. buka dan modifikasi isi kode di dalam file ASD_Task_1.cpp
  3. tuliskan kode kalian pada bagian yang telah disediakan
  4. contoh hasil aplikasi dapat dilihat di file example.exe
  • buatlah aplikasi sederhana untuk menghitung index nilai berdasarkan nilai UTS, UAS, dan TUBES nya

  • terdapat 6 fungsi yang harus dibuat

      void main_menu();
      void set_standar();
      void set_proporsi_nilai();
      char hitung_index(double uts, double uas, double tubes);
      void input_nilai();
      void thank_you();
    
  • void main_menu()

    • fungsi berisi pilihan menu di dalam aplikasi: daftar menu:
      1. set standar index nilai
      2. set proporsi nilai
      3. input nilai
      4. keluar
    • fungsi meminta input pilihan menu dari user dan memanggil fungsi menu yang dipilih
  • void set_standar();

    • fungsi mengubah standar index A, B, C, D, dan E
    • fungsi akan menerima input rentang nilai untuk masing-masing index nilai
    • fungsi akan mengulang menerima input dari user jika terdapat nilai yang overlap
  • void set_proporsi_nilai();

    • fungsi mengubah prosentase nilai UTS, UAS, dan TUBES
    • fungsi akan menerima 3 input prosentase dari user untuk UTS, UAS, dan TUBES
    • fungsi akan mengulang menerima input dari user jika total prosentase != 100
  • char hitung_index(double uts, double uas, double tubes);

    • fungsi menghitung total nilai berdasarkan input parameter dan proporsi nilai
    • fungsi menentukan index nilai berdasarkan standar nilai
    • fungsi mengembalikan karakter index nilai
  • void input_nilai();

    • fungsi menerima input nilai UTS, UAS, dan TUBES
    • fungsi menampilkan index yang didapat berdasarkan input nilai UTS, UAS, dan TUBES
  • void thank_you();

    • fungsi menampilkan pesan singkat untuk mengakhiri program
    • tampilkan nim dan nama kalian

asd_task_1's People

Contributors

adf-telkomuniv avatar fiqhi19 avatar undeed 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.