The document describes a C++ program that implements a train ticket booking application. The program has two main forms - a menu form and a transaction form. The menu form allows the user to select between viewing the train schedule, initiating a transaction, or exiting the program. The transaction form prompts the user to enter passenger, train, and payment details to purchase tickets. It then displays a proof of payment receipt summarizing the transaction details.
Hill Cipher ditemukan oleh Lester S. Hill pada tahun 1929, dan seperti Digraphic Ciphers lainnya, ia bertindak berdasarkan kelompok huruf. Berbeda dengan yang lain meski bisa diperpanjang untuk mengerjakan blok huruf berukuran berbeda. Jadi, secara teknis ini adalah cipher substitusi poligrafik, karena dapat bekerja pada digraf, trigraf (blok 3 huruf) atau secara teoritis setiap blok berukuran.
Hill Cipher menggunakan perhitungan matematika yang disebut Aljabar linier, dan khususnya mengharuskan pengguna untuk memiliki pemahaman dasar tentang matriks. Ini juga memanfaatkan Modulo Arithmetic (seperti the Affine Cipher). Karena itu, hill cipher memiliki sifat matematika yang jauh lebih penting daripada beberapa yang lain. Namun, sifat inilah yang memungkinkannya bertindak (relatif) dengan mudah pada blok huruf yang lebih besar.
Makalah kalkulus aplikasi turunan persamaan garis singgungMinami Noumi
persamaan garis singgung dan pengaplikasian turunan, adalah kesatuan yang ada. contoh contoh soal pengaplikasian turunan, rumus rumus dasar turunan dan persamaan garis singgung serta aplikasi konsep dalam kehidupan sehari hari
Hill Cipher ditemukan oleh Lester S. Hill pada tahun 1929, dan seperti Digraphic Ciphers lainnya, ia bertindak berdasarkan kelompok huruf. Berbeda dengan yang lain meski bisa diperpanjang untuk mengerjakan blok huruf berukuran berbeda. Jadi, secara teknis ini adalah cipher substitusi poligrafik, karena dapat bekerja pada digraf, trigraf (blok 3 huruf) atau secara teoritis setiap blok berukuran.
Hill Cipher menggunakan perhitungan matematika yang disebut Aljabar linier, dan khususnya mengharuskan pengguna untuk memiliki pemahaman dasar tentang matriks. Ini juga memanfaatkan Modulo Arithmetic (seperti the Affine Cipher). Karena itu, hill cipher memiliki sifat matematika yang jauh lebih penting daripada beberapa yang lain. Namun, sifat inilah yang memungkinkannya bertindak (relatif) dengan mudah pada blok huruf yang lebih besar.
Makalah kalkulus aplikasi turunan persamaan garis singgungMinami Noumi
persamaan garis singgung dan pengaplikasian turunan, adalah kesatuan yang ada. contoh contoh soal pengaplikasian turunan, rumus rumus dasar turunan dan persamaan garis singgung serta aplikasi konsep dalam kehidupan sehari hari
Matriks eselon dan eselon tereduksi.. serta operasi eliminasi gauss dan gauss-jordan
gunakanlah presentasi berikut dg bijak dan sebagai sumber inspirasi.
^_^ saya mahasiswa madura yang sekarang kuliah di UNIVERSITAS MADURA jurusan FKIP MATEMATIKA
Jl. Raya Panglegur KM 3,5 pamekasan
Come join us..
Sandi Playfair ditemukan oleh ahli Fisika berkebangsaan Inggris bernama Sir Charles Wheatstone (1802 - 1875) namun dipromosikan oleh Baron Lyon Playfair (1819 - 1898) pada tahun 1854. Sandi Playfair pertama kali digunakan untuk tujuan-tujuan taktis oleh pasukan Inggris dalam Perang Boer II dan Perang Dunia I. Australia dan Jerman juga menggunakan sandi ini untuk tujuan yang sama dalam Perang Dunia II. Pada perkembangan selanjutnya, sandi ini tidak lagi digunakan oleh pasukan militer karena telah muncul berbagai perangkat enkripsi digital untuk menerjemahkannya.
Matriks eselon dan eselon tereduksi.. serta operasi eliminasi gauss dan gauss-jordan
gunakanlah presentasi berikut dg bijak dan sebagai sumber inspirasi.
^_^ saya mahasiswa madura yang sekarang kuliah di UNIVERSITAS MADURA jurusan FKIP MATEMATIKA
Jl. Raya Panglegur KM 3,5 pamekasan
Come join us..
Sandi Playfair ditemukan oleh ahli Fisika berkebangsaan Inggris bernama Sir Charles Wheatstone (1802 - 1875) namun dipromosikan oleh Baron Lyon Playfair (1819 - 1898) pada tahun 1854. Sandi Playfair pertama kali digunakan untuk tujuan-tujuan taktis oleh pasukan Inggris dalam Perang Boer II dan Perang Dunia I. Australia dan Jerman juga menggunakan sandi ini untuk tujuan yang sama dalam Perang Dunia II. Pada perkembangan selanjutnya, sandi ini tidak lagi digunakan oleh pasukan militer karena telah muncul berbagai perangkat enkripsi digital untuk menerjemahkannya.
The college management system is the project in which it handles all the data related to the students, courses and faculty. The details include college details, subject details, student personnel details, academic details etc.
Smart Transport for benefit of employees, logistics & freight carriersShubhankar Thakur
Smart Transport –
Completely customisable app
End to end automation – Beneficial for Employee / Admin / curb expenses
Reached Home Button
Women Safety
Routing options for vehicles
Real time vehicle Tracking
Remotely stop the vehicle in case of emergency
Call the cab (call masking - without revealing employee number)
Dashboard showing location of all vehicles
Spot bookings of cabs for sales / marketing / senior people travelling outside city for business
This course project focus mainly on Airport operation analysis and design at Chichago O'hare International Airport, which is done by efforts of me and my teammate Xiaoran Li. It includes: departure delay analysis; Pareto capacity diagram; West Terminal Design and Runway 28 Noise Analysis.
Debugging and Profiling C++ Template MetaprogramsPlatonov Sergey
Template metaprogramming is an emerging new direction in C++ programming for executing algorithms in compilation time. Despite all of its already proven benefits and numerous successful applications, it is yet to be accepted in industrial projects. One reason is the lack of professional software tools supporting the development of template metaprograms. A strong analogue exists between traditional runtime programs and compile-time metaprograms. This connection presents the possibility for creating development tools similar to those already used when writing runtime programs. This paper introduces Templight, a debugging framework that reveals the steps executed by the compiler during the compilation of C++ programs with templates. Templight’s features include following the instantiation chain, setting breakpoints, and inspecting metaprogram information. This framework aims to take a step forward to help template metaprogramming become more accepted in the software industry.
Program Pembelian Barang Dan Pencetakan Struk BSI Mart Menggunakan Bahasa Pem...Muhammad Iqbal
Makalah ini berisi mengenai pembuatan program pembelian barang dan pencetakan struk menggunakan bahasa pemrograman C++ dengan compiler Borland C++ versi 5.0.2
How Recreation Management Software Can Streamline Your Operations.pptxwottaspaceseo
Recreation management software streamlines operations by automating key tasks such as scheduling, registration, and payment processing, reducing manual workload and errors. It provides centralized management of facilities, classes, and events, ensuring efficient resource allocation and facility usage. The software offers user-friendly online portals for easy access to bookings and program information, enhancing customer experience. Real-time reporting and data analytics deliver insights into attendance and preferences, aiding in strategic decision-making. Additionally, effective communication tools keep participants and staff informed with timely updates. Overall, recreation management software enhances efficiency, improves service delivery, and boosts customer satisfaction.
Prosigns: Transforming Business with Tailored Technology SolutionsProsigns
Unlocking Business Potential: Tailored Technology Solutions by Prosigns
Discover how Prosigns, a leading technology solutions provider, partners with businesses to drive innovation and success. Our presentation showcases our comprehensive range of services, including custom software development, web and mobile app development, AI & ML solutions, blockchain integration, DevOps services, and Microsoft Dynamics 365 support.
Custom Software Development: Prosigns specializes in creating bespoke software solutions that cater to your unique business needs. Our team of experts works closely with you to understand your requirements and deliver tailor-made software that enhances efficiency and drives growth.
Web and Mobile App Development: From responsive websites to intuitive mobile applications, Prosigns develops cutting-edge solutions that engage users and deliver seamless experiences across devices.
AI & ML Solutions: Harnessing the power of Artificial Intelligence and Machine Learning, Prosigns provides smart solutions that automate processes, provide valuable insights, and drive informed decision-making.
Blockchain Integration: Prosigns offers comprehensive blockchain solutions, including development, integration, and consulting services, enabling businesses to leverage blockchain technology for enhanced security, transparency, and efficiency.
DevOps Services: Prosigns' DevOps services streamline development and operations processes, ensuring faster and more reliable software delivery through automation and continuous integration.
Microsoft Dynamics 365 Support: Prosigns provides comprehensive support and maintenance services for Microsoft Dynamics 365, ensuring your system is always up-to-date, secure, and running smoothly.
Learn how our collaborative approach and dedication to excellence help businesses achieve their goals and stay ahead in today's digital landscape. From concept to deployment, Prosigns is your trusted partner for transforming ideas into reality and unlocking the full potential of your business.
Join us on a journey of innovation and growth. Let's partner for success with Prosigns.
Providing Globus Services to Users of JASMIN for Environmental Data AnalysisGlobus
JASMIN is the UK’s high-performance data analysis platform for environmental science, operated by STFC on behalf of the UK Natural Environment Research Council (NERC). In addition to its role in hosting the CEDA Archive (NERC’s long-term repository for climate, atmospheric science & Earth observation data in the UK), JASMIN provides a collaborative platform to a community of around 2,000 scientists in the UK and beyond, providing nearly 400 environmental science projects with working space, compute resources and tools to facilitate their work. High-performance data transfer into and out of JASMIN has always been a key feature, with many scientists bringing model outputs from supercomputers elsewhere in the UK, to analyse against observational or other model data in the CEDA Archive. A growing number of JASMIN users are now realising the benefits of using the Globus service to provide reliable and efficient data movement and other tasks in this and other contexts. Further use cases involve long-distance (intercontinental) transfers to and from JASMIN, and collecting results from a mobile atmospheric radar system, pushing data to JASMIN via a lightweight Globus deployment. We provide details of how Globus fits into our current infrastructure, our experience of the recent migration to GCSv5.4, and of our interest in developing use of the wider ecosystem of Globus services for the benefit of our user community.
Globus Compute wth IRI Workflows - GlobusWorld 2024Globus
As part of the DOE Integrated Research Infrastructure (IRI) program, NERSC at Lawrence Berkeley National Lab and ALCF at Argonne National Lab are working closely with General Atomics on accelerating the computing requirements of the DIII-D experiment. As part of the work the team is investigating ways to speedup the time to solution for many different parts of the DIII-D workflow including how they run jobs on HPC systems. One of these routes is looking at Globus Compute as a way to replace the current method for managing tasks and we describe a brief proof of concept showing how Globus Compute could help to schedule jobs and be a tool to connect compute at different facilities.
In the ever-evolving landscape of technology, enterprise software development is undergoing a significant transformation. Traditional coding methods are being challenged by innovative no-code solutions, which promise to streamline and democratize the software development process.
This shift is particularly impactful for enterprises, which require robust, scalable, and efficient software to manage their operations. In this article, we will explore the various facets of enterprise software development with no-code solutions, examining their benefits, challenges, and the future potential they hold.
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...Globus
The Earth System Grid Federation (ESGF) is a global network of data servers that archives and distributes the planet’s largest collection of Earth system model output for thousands of climate and environmental scientists worldwide. Many of these petabyte-scale data archives are located in proximity to large high-performance computing (HPC) or cloud computing resources, but the primary workflow for data users consists of transferring data, and applying computations on a different system. As a part of the ESGF 2.0 US project (funded by the United States Department of Energy Office of Science), we developed pre-defined data workflows, which can be run on-demand, capable of applying many data reduction and data analysis to the large ESGF data archives, transferring only the resultant analysis (ex. visualizations, smaller data files). In this talk, we will showcase a few of these workflows, highlighting how Globus Flows can be used for petabyte-scale climate analysis.
Launch Your Streaming Platforms in MinutesRoshan Dwivedi
The claim of launching a streaming platform in minutes might be a bit of an exaggeration, but there are services that can significantly streamline the process. Here's a breakdown:
Pros of Speedy Streaming Platform Launch Services:
No coding required: These services often use drag-and-drop interfaces or pre-built templates, eliminating the need for programming knowledge.
Faster setup: Compared to building from scratch, these platforms can get you up and running much quicker.
All-in-one solutions: Many services offer features like content management systems (CMS), video players, and monetization tools, reducing the need for multiple integrations.
Things to Consider:
Limited customization: These platforms may offer less flexibility in design and functionality compared to custom-built solutions.
Scalability: As your audience grows, you might need to upgrade to a more robust platform or encounter limitations with the "quick launch" option.
Features: Carefully evaluate which features are included and if they meet your specific needs (e.g., live streaming, subscription options).
Examples of Services for Launching Streaming Platforms:
Muvi [muvi com]
Uscreen [usencreen tv]
Alternatives to Consider:
Existing Streaming platforms: Platforms like YouTube or Twitch might be suitable for basic streaming needs, though monetization options might be limited.
Custom Development: While more time-consuming, custom development offers the most control and flexibility for your platform.
Overall, launching a streaming platform in minutes might not be entirely realistic, but these services can significantly speed up the process compared to building from scratch. Carefully consider your needs and budget when choosing the best option for you.
Check out the webinar slides to learn more about how XfilesPro transforms Salesforce document management by leveraging its world-class applications. For more details, please connect with sales@xfilespro.com
If you want to watch the on-demand webinar, please click here: https://www.xfilespro.com/webinars/salesforce-document-management-2-0-smarter-faster-better/
Cyaniclab : Software Development Agency Portfolio.pdfCyanic lab
CyanicLab, an offshore custom software development company based in Sweden,India, Finland, is your go-to partner for startup development and innovative web design solutions. Our expert team specializes in crafting cutting-edge software tailored to meet the unique needs of startups and established enterprises alike. From conceptualization to execution, we offer comprehensive services including web and mobile app development, UI/UX design, and ongoing software maintenance. Ready to elevate your business? Contact CyanicLab today and let us propel your vision to success with our top-notch IT solutions.
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoamtakuyayamamoto1800
In this slide, we show the simulation example and the way to compile this solver.
In this solver, the Helmholtz equation can be solved by helmholtzFoam. Also, the Helmholtz equation with uniformly dispersed bubbles can be simulated by helmholtzBubbleFoam.
Enhancing Research Orchestration Capabilities at ORNL.pdfGlobus
Cross-facility research orchestration comes with ever-changing constraints regarding the availability and suitability of various compute and data resources. In short, a flexible data and processing fabric is needed to enable the dynamic redirection of data and compute tasks throughout the lifecycle of an experiment. In this talk, we illustrate how we easily leveraged Globus services to instrument the ACE research testbed at the Oak Ridge Leadership Computing Facility with flexible data and task orchestration capabilities.
In software engineering, the right architecture is essential for robust, scalable platforms. Wix has undergone a pivotal shift from event sourcing to a CRUD-based model for its microservices. This talk will chart the course of this pivotal journey.
Event sourcing, which records state changes as immutable events, provided robust auditing and "time travel" debugging for Wix Stores' microservices. Despite its benefits, the complexity it introduced in state management slowed development. Wix responded by adopting a simpler, unified CRUD model. This talk will explore the challenges of event sourcing and the advantages of Wix's new "CRUD on steroids" approach, which streamlines API integration and domain event management while preserving data integrity and system resilience.
Participants will gain valuable insights into Wix's strategies for ensuring atomicity in database updates and event production, as well as caching, materialization, and performance optimization techniques within a distributed system.
Join us to discover how Wix has mastered the art of balancing simplicity and extensibility, and learn how the re-adoption of the modest CRUD has turbocharged their development velocity, resilience, and scalability in a high-growth environment.
Developing Distributed High-performance Computing Capabilities of an Open Sci...Globus
COVID-19 had an unprecedented impact on scientific collaboration. The pandemic and its broad response from the scientific community has forged new relationships among public health practitioners, mathematical modelers, and scientific computing specialists, while revealing critical gaps in exploiting advanced computing systems to support urgent decision making. Informed by our team’s work in applying high-performance computing in support of public health decision makers during the COVID-19 pandemic, we present how Globus technologies are enabling the development of an open science platform for robust epidemic analysis, with the goal of collaborative, secure, distributed, on-demand, and fast time-to-solution analyses to support public health.
Listen to the keynote address and hear about the latest developments from Rachana Ananthakrishnan and Ian Foster who review the updates to the Globus Platform and Service, and the relevance of Globus to the scientific community as an automation platform to accelerate scientific discovery.
First Steps with Globus Compute Multi-User EndpointsGlobus
In this presentation we will share our experiences around getting started with the Globus Compute multi-user endpoint. Working with the Pharmacology group at the University of Auckland, we have previously written an application using Globus Compute that can offload computationally expensive steps in the researcher's workflows, which they wish to manage from their familiar Windows environments, onto the NeSI (New Zealand eScience Infrastructure) cluster. Some of the challenges we have encountered were that each researcher had to set up and manage their own single-user globus compute endpoint and that the workloads had varying resource requirements (CPUs, memory and wall time) between different runs. We hope that the multi-user endpoint will help to address these challenges and share an update on our progress here.
Software Engineering, Software Consulting, Tech Lead, Spring Boot, Spring Cloud, Spring Core, Spring JDBC, Spring Transaction, Spring MVC, OpenShift Cloud Platform, Kafka, REST, SOAP, LLD & HLD.
1. Tugas
Ujian Tengah Semester
Algoritma & Pemrograman I
Borland C++ | Application Train Ticket
NIM : 12150587
Nama : Muhammad Iqbal
Program Studi : Akademi Manajemen Informatika & Komputer
Jurusan : Manajemen Informatika
Kelas : 12.1F.11
Bina Sarana Informatika
Jakarta, 2015
2. 12150587 - Muhammad Iqbal Jakarta, 28-Okt-2015
Manajemen Informatika Application Train Ticket - Borland C++ | Algoritma & Pemrograman I
ii
Daftar Isi
Daftar Isi............................................................................................................................................................................. i
I. Definisi .......................................................................................................................................................................1
II. Penyelesaian .............................................................................................................................................................2
Script..............................................................................................................................................................................2
Result.............................................................................................................................................................................5
Form Menu.................................................................................................................................................................5
Form Transaction.......................................................................................................................................................6
III. Penjelasan.............................................................................................................................................................8
Analisa Program ............................................................................................................................................................8
Flow Chart .....................................................................................................................................................................9
Form Menu.................................................................................................................................................................9
Form Transaction.....................................................................................................................................................10
IV. Daftar Pustaka.....................................................................................................................................................11
3. 12150587 - Muhammad Iqbal Jakarta, 28-Okt-2015
Manajemen Informatika Application Train Ticket - Borland C++ | Algoritma & Pemrograman I
11
I. Definisi
Tugas Diterima Senin, 26 Oktober 2015, 17:00-18:30
Tugas Diserahkan Rabu, 28 Oktober 2015, 17:00-18:30
Dosen [SMR] Siti Marlina
Membuat sebuah program sederhana menggunakan bahasa pemrograman C++ di Borland dengan ketentuan berikut:
1.
4. 12150587 - Muhammad Iqbal Jakarta, 28-Okt-2015
Manajemen Informatika Application Train Ticket - Borland C++ | Algoritma & Pemrograman I
22
II. Penyelesaian
Script
Script C++ pada Borland versi 5.0.2 :
#include <conio>
#include <iostream>
#include <stdio>
#include <string>
#include <stdlib>
main() {
char vmenu,vtrx_train_time,vtrx_pass_name[20],vtrx_dept_date[15],vtrx_train_code[5];
int
vtrx_amount_ticket,vtrain_ticket_price,vtrx_total_price,vtrx_pay_no=0,vtrx_pay_ch,vtrx_discount=0,trx_pay_to
tal,vtrx_pay_return=0;
string vtrain_name,vtrain_date_depart,vtrain_date_desti,vtrx_pay_method;
sPROG_START: //Start Session Program
clrscr();
//Section Form Menu
cout<<"#########################################################################"<<endl;
cout<<"#ttttttttt#"<<endl;
cout<<"#tt Welcome To Application Train Ticket ttt#"<<endl;
cout<<"#tttt by Muhammad Iqbal [IL] tt#"<<endl;
cout<<"#ttttttttt#"<<endl;
cout<<"#########################################################################"<<endl;
cout<<"Menu t: "<<vmenu<<endl;
cout<<"t 1. Train List"<<endl;
cout<<"t 2. Transaction"<<endl;
cout<<"t 3. Exit"<<endl;
cout<<"+-----------------------------------------------------------------------+"<<endl;
gotoxy(1,13); cout<<"+-----------------------------------------------------------------------
+"<<endl;
gotoxy(1,14); cout<<"Kuliah ? BSI aja ! OK."<<endl;
gotoxy(1,12);
cout<<"Your choice [1/2/3] t: ";cin>>vmenu;
gotoxy(1,16);
sMENU_CK:
switch (vmenu){
case '1':
system("start ; more D:DocumentCopyMeKuliahArchive006-
Algoritma_Pemrograman_ITaskUTS-KasirDocUTS-Kasir-Detail_product.txt ; ");
goto sPROG_START;
break;
case '2':
goto sTRANSACTION;
break;
case '3':
goto sPROG_END;
break;
default:
cout<<"TIDAK ADA !!!..."<<endl;
cout<<"Your choice [1/2/3] t: ";cin>>vmenu;cout<<"n";
goto sMENU_CK;
}
sTRANSACTION: //Section Form Transaction
clrscr();
cout<<"#########################################################################"<<endl;
cout<<"#ttttttttt#"<<endl;
cout<<"#tt Welcome To Application Train Ticket ttt#"<<endl;
cout<<"#tttt by Muhammad Iqbal [IL] tt#"<<endl;
cout<<"#ttttttttt#"<<endl;
cout<<"#-----------------------------------------------------------------------#"<<endl;
cout<<"# Form Transaction : ttttttt#"<<endl;
cout<<"#########################################################################n"<<endl;
cout<<"#1. Input Passenger Name tt: ";gets(vtrx_pass_name);
cout<<"#2. Input Departure Date tt: ";gets(vtrx_dept_date);
cout<<"#3. Input Train Code t tt: ";cin>>vtrx_train_code;
cout<<"#4. Input Pagi/Siang/Malam [P/S/M] t: ";cin>>vtrx_train_time;
cout<<"#3. Input Amount Ticket tt: ";cin>>vtrx_amount_ticket;
cout<<"+-----------------------------------------------+"<<endl;
//Checking data
if (strcmpi("KJ",vtrx_train_code) == 0){
6. 12150587 - Muhammad Iqbal Jakarta, 28-Okt-2015
Manajemen Informatika Application Train Ticket - Borland C++ | Algoritma & Pemrograman I
44
system("pause");
//Print Out Proof Payment
cout<<"#########################################################################"<<endl;
cout<<"# Proof Payment : ttttttt#"<<endl;
cout<<"#=======================================================================#"<<endl;
cout<<"# Passenger Name : "<<vtrx_pass_name<<"ttttt#"<<endl;
cout<<"# Departure Date : "<<vtrx_dept_date<<"tttttt#"<<endl;
cout<<"#-----------------------------------------------------------------------#"<<endl;
cout<<"# Train Name t : "<<vtrain_name<<"t Payment Nominal: "<<vtrx_pay_no<<"tt#"<<endl;
cout<<"# Train Time t : "<<vtrx_train_time<<"ttt Payment Method : "<<vtrx_pay_method<<"#"<<endl;
cout<<"# ST/Date Depart : "<<vtrain_date_depart<<"t Total Payment t:
"<<trx_pay_total<<"tt#"<<endl;
cout<<"# ST/Date Destin : "<<vtrain_date_desti<<"t Total Discount : "<<vtrx_discount<<"tt#"<<endl;
cout<<"# Ticket Price t : "<<vtrain_ticket_price<<"tt Return Payment :
"<<vtrx_pay_return<<"tt#"<<endl;
cout<<"# Amount Ticket : "<<vtrx_amount_ticket<<"tttttt #"<<endl;
cout<<"# Total Price t : "<<vtrx_total_price<<"ttttt # "<<endl;
cout<<"#-----------------------------------------------------------------------#"<<endl;
cout<<"# Thank You | Muhammad Iqbal | 12150587 Kuliah ? BSI aja ! OK. #"<<endl;
cout<<"#########################################################################"<<endl;
cout<<"n"<<endl;
system("pause");
cout<<"Menu t: "<<vmenu<<endl;
cout<<"t 1. Re-Transaction"<<endl;
cout<<"t 2. Back to menu"<<endl;
cout<<"t 3. Exit"<<endl;
cout<<"+-----------------------------------------------------------------------+"<<endl;
cout<<"Your choice [1/2/3] t: ";cin>>vmenu;
sTRANSACTION_RE_CK:
switch (vmenu){
case '1':
goto sTRANSACTION;
break;
case '2':
goto sPROG_START;
break;
case '3':
goto sPROG_END;
break;
default:
cout<<"TIDAK ADA !!!..."<<endl;
cout<<"Your choice [1/2/3] t: ";cin>>vmenu;cout<<"n";
goto sTRANSACTION_RE_CK;
}
sPROG_END: //End Session Program
}
7. 12150587 - Muhammad Iqbal Jakarta, 28-Okt-2015
Manajemen Informatika Application Train Ticket - Borland C++ | Algoritma & Pemrograman I
55
Result
Hasil setelah di compile dan di running :
Form Menu
Form ini adalah form utama yang akan pertama keluar, didalamnya terdapat 3 pilihan, yaitu :
1. Train List
Berisi daftar tiket keberangkatan kereta dan akan muncul di window baru :
2. Transaction
Berisi untuk kegiatan transaksi pembelian tiket kereta api.
8. 12150587 - Muhammad Iqbal Jakarta, 28-Okt-2015
Manajemen Informatika Application Train Ticket - Borland C++ | Algoritma & Pemrograman I
66
3. Exit
Digunakan untuk keluar program.
Form Transaction
Form ini adalah form yang digunakan untuk transaksi pembelian tiket kereta api dengan 2 pilihan metode
pembayaran, yaitu :
1. Cash
Jika menggunakan Cash menggunaa perhitungan kembalian.
9. 12150587 - Muhammad Iqbal Jakarta, 28-Okt-2015
Manajemen Informatika Application Train Ticket - Borland C++ | Algoritma & Pemrograman I
77
2. Credit Card
Jika menggunakan Credit Card, bisa mendapatkan potongan discount hingga 10%.
10. 12150587 - Muhammad Iqbal Jakarta, 28-Okt-2015
Manajemen Informatika Application Train Ticket - Borland C++ | Algoritma & Pemrograman I
88
III. Penjelasan
Analisa Program
File Header yang dibutuhkan :
1. Stdio
Digunakan untuk menampilakan perintah:
a. gets
Berfungsi untuk menginputkan nilai string kedalam sebuah variable. Bentuk umum: gets(variable);
2. Conio
Digunakan untuk menampilakan perintah:
a. Getch
Berfungsi untuk menginputkan sebuah nilai tanpa ditampilkan di layar. Bentuk umum: getch();
b. Clrscr
Berfungsi membersihkan tampilan. Bentuk umum: clrscr();
c. Gotoxy
Berfungsi untuk menempatkan koordinat kursor pada layar.. Bentuk umum: gotoxy(kolom,baris);
3. String
Digunakan untuk menampilakan perintah:
a. Strcmp
Berfungsi untuk mengcompare karakter. Bentuk umum: strcmp( const char * str1, const char * str2 );
4. Stdlib
Digunakan untuk menampilakan perintah:
a. System
Berfungsi untuk menjalankan program di system windows. Bentuk umum: system( const char*
command );
Perintah yang digunakan :
1. If () {} else if () {} else {}
Digunakan sebagai statement kondisi > 1 (majemuk).
2. Goto
Digunakan untuk melompat ke bagian / sesi yang sudah di tandai (Label);
3. Switch case
Digunakan sebagai statement kondisi > 1 (majemuk).
11. 12150587 - Muhammad Iqbal Jakarta, 28-Okt-2015
Manajemen Informatika Application Train Ticket - Borland C++ | Algoritma & Pemrograman I
99
Flow Chart
Form Menu
12. 12150587 - Muhammad Iqbal Jakarta, 28-Okt-2015
Manajemen Informatika Application Train Ticket - Borland C++ | Algoritma & Pemrograman I
1010
Form Transaction
13. 12150587 - Muhammad Iqbal Jakarta, 28-Okt-2015
Manajemen Informatika Application Train Ticket - Borland C++ | Algoritma & Pemrograman I
1111
IV. Daftar Pustaka
1. Cplusplus.com, <string> - C++ Reference, http://www.cplusplus.com/reference/string/
2. Cplusplus.com, <iostream> - C++ Reference, http://www.cplusplus.com/reference/iostream/
3. Cplusplus.com, <stdio> - C++ Reference, http://www.cplusplus.com/reference/stdio/
Cplusplus.com, system - C++ Reference, http://www.cplusplus.com/reference/cstdlib/system/?kw=system
4. Tutorialspoint.com, C++ if...else statement,
http://www.tutorialspoint.com/cplusplus/cpp_if_else_statement.htm
5. Tutorialspoint.com, C++ goto statement, http://www.tutorialspoint.com/cplusplus/cpp_goto_statement.htm
6. Wikipedia.com, String, https://id.wikipedia.org/wiki/String
7. Prixl, Contoh penggunaan gotoxy pada X++, https://puncakdunia.wordpress.com/2012/06/04/contoh-
penggunaan-gotoxy-pada-c/