Skip to main content

Posts

Showing posts from October, 2015

Aplikasi C# Penjualan Flasdisk

Aplikasi C# (C Sharp) Penjualan flasdisk berbasis console using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Menu {     class Program     {         static void Main(string[] args)         {             string fd,wr,ex;             a:             Console.Clear();             Console.Write("Pilih Merk Flasdisk Kingston/Hp/Sandisk [K/H/S] : ");             fd = Console.ReadLine();             if (fd == "K" || fd == "k")             {                 Console.Write("-----------Anda memilih Kingston-----------");                 Console.Write("\n\nPilih Kapasitas [4/8/16] : ");                 wr = Console.ReadLine();                 if (wr == "4" || wr == "4")                 {                     Console.Write("-----------Anda memilih dengan Kapasitas 4GB-----------");                     Console.Write("\n---->Harga  Rp. 40.000");                 }