Tolong kawan buatkan generic structure dari cerita Batu Gantung. The Legend of Batu Gantung Once upon a time there was a family with a single daughter. They lived near Lake Toba. They had stayed there for years. They lived happily and peacefully. They earned their living by cultivating their land. Every year they harvested a lot of crops. One day the family’s daughter was at home. She did not go to the farm land. Instead the girl stayed at home with her beloved pet, a nice dog. She felt tired after working for several days in the farm land. She slept all day. “My daughter”, shouted her mother. That father was looking for where his daughter was. Her mother was astonished at the condition of her daughter. She was weak and pale. “What’s the matter, my daughter?”, asked her mother. “Nothing, mother”, the girl tried to hide her sad feeling. She did not want to hurt her mother. The next morning, the girl followed her parents to the farm land. They could not concentrate and helped her parents. She looked sad and frustrated. Several days ago, her mother told her that she would be married to a guy. The girl did not like him. She had chosen another guy to her wife-tobe. That was why the girl felt sorrowful and hopeless. “I prefer to die to marry to a guy I don’t like. I promise”, said the girl to herself. Suddenly, there was a thunder and lighting followed by a heavy rain. That girl was afraid of thr thunder and lighting. It worsened her feeling of hatred of her parents’ decision. It was hard for her to refuse but it was hard to live with a guy she never loved. Then the girl had an idea to go to lake Toba. It was a clear afternoon. The girl was at the bank of the lake accompanied by her beloved dog. The girl decided to commit suicide. She could not imagine how she could live with the guy she never met. All of sudden, the girl’s legs were slipped inti a big hole. Then she fell down. She tried to get up bjut she failed. It was dark. She was flanked with hard rocks. She could not stop crying. Finding that event, the girl’s dog was barking loudly. The sound the dog’s barking was heard a few meters from Lake Toba. Two fishermen were suspicious of the sound and came closer. “Oh my God. How can it be?”, asked one of the fishermen. He tried to pull the girl’s legs, but failed. The girl’s legs were squeezed by two big stones. “All right. Don’t move. I’ll call your parents”, said the other fishermen. Suddenly, there was a voice from inside saying “Prapat...Prapat...Prapat...the stone”. The two fishermen looked at each other. They did not know where the voice came from. A few hours later, the girl’s parents arrived. They felt very sad finding their daughter. They could do nothing. It was too late. Their daughter was swallowed by the two big stone. They were crying and sorrowful. The realized that their decision to marry her to someone she did not like. Several months later, a lot of people living surrounding Lake Toba came to the place where the girl was swallowed by the stones. Several stones at the cliffs near Lake Toba fell down. That event was frightening the people. It was unbelievable, some stones were hanging, not falling. People then called them “Batu Gantung”, because they were hanging on the rock like a girl.
Answer
Ada yang bisa memperbaiki program Turbo C++ Ini? Tolong ya Kakak2 dan Abang2.. #include #include void main() { int paket,jumlah_paket,meja; float jumlah_harga, jumlah_bayar, harga_paket, ppn, jumlah_total, harga_meja, jumlah_meja; double bayar; char kar; clrscr(); do{ printf("RESTAURANT ITALIA\n"); printf("======================================\n"); printf("Inputkan jenis meja(S,M,P) :"); scanf("%d",&meja); printf("Inputkan Nama Paket(1-4 :"); scanf("%d",&paket); printf("Inputkan Jumlah Paket :"); scanf("%d",&jumlah_paket); if (meja==1) harga_meja=100000; else if (meja==2) harga_meja=200000; else if (meja==3); harga_meja=300000; if (paket==1) harga_paket=300000; if (paket==2) harga_paket=580000; if (paket==3) harga_paket=999000; if (paket==4) harga_paket=1367000; jumlah_harga=jumlah_paket*harga_paket; ppn=jumlah_harga*0.15; jumlah_bayar=jumlah_harga+ppn; printf("nama paket :%d\n",paket); printf("jumlah paket :%d\n",jumlah_paket); printf("\njumlah harga=%10.2f\n",jumlah_harga); printf("\npajak ppn=%10.2f\n",ppn); printf("\njumlah total=%10.2f\n",jumlah_bayar); printf("\nAnda ingin menambah pesanan ? (Y/T)\n"); scanf("%s",&kar); }while(kar=='Y'); printf("TERIMA KASIH ATAS KUNJUNGAN ANDA"); getch(); } Soal nya seperti ini : 1. Buatlah Algoritma Dan Program Dari Tampilan Output Berikut : RESTAURANT ITALIA ================================================================= Jenis Meja (S, M, P) : Nama Paket (1- 4) : Jumlah Paket : Anda ingin menambah pesanan? (Y / T) : Jumlah Harga : PajakPPn15% : Jumlah Total : ================================================================ Dengan Ketentuan: Meja = Sederhana(S) Rp.100.000, Mewah(M)Rp.200.000, President(P) Rp.300.000. Paket = (1)Rp.300.000, (2)Rp. 580.000, (3)Rp.999.000, (4)Rp.1.367.000 Jumlah Harga = Jenis Meja + (Nama Paket x Jumlah Paket)
Answer

Life Enjoy

" Life is not a problem to be solved but a reality to be experienced! "

Get in touch

Social

© Copyright 2013 - 2024 KUDO.TIPS - All rights reserved.