Buat program menghitung harga tiket dengan ketentuan
| Class | Price |
| Economy | 100000 |
| Bussines | 200000 |
| Executive | 300000 |
Total of Price = Sum of Ticket * Price
Jawaban
| Obyek | Properti | Pengaturan |
| Form | Caption | Ticketing |
| Label1 | Caption | Sum Of Ticket |
| Text1 | Text | (Kosongkan) |
| Frame1 | Caption | Class |
| Option1 | Caption | Economy |
| Option2 | Caption | Bussines |
| Option3 | Caption | Executive |
| Label2 | Caption | Price |
| Label3 | Caption | Total Of Price |
| Text2 | Text | (Kosongkan) |
| Backcolor | (Pilih abu-abu) |
| Text3 | Text | (Kosongkan) |
| Backcolor | (Pilih abu-abu) |
| Command1 | Caption | Ok |
| Command2 | Caption | Exit |
01 | Private Sub Command1_Click() |
05 | ElseIf Option2.Value Then |
15 | Private Sub Command2_Click() |
0 comments:
Posting Komentar