Advertisement
Guest User

Untitled

a guest
Feb 20th, 2018
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.73 KB | None | 0 0
  1. namespace Mod2Upg17
  2. {
  3. class Program
  4. {
  5. static void Main()
  6. {
  7. string Kundkategori;
  8. double Antal, Styckpris;
  9.  
  10. bool Total;
  11.  
  12. Console.WriteLine("Kategori: ");
  13. Kundkategori = Console.ReadLine();
  14.  
  15. Console.WriteLine("Antal: ");
  16. Antal = double.Parse(Console.ReadLine());
  17.  
  18. Console.WriteLine("Styckpris: ");
  19. Styckpris = double.Parse(Console.ReadLine());
  20.  
  21. Total = Beräkning(Kundkategori, Antal, Styckpris);
  22. }
  23.  
  24. static bool Beräkning(string Kundkategori, double Antal, double Styckpris)
  25. {
  26. double A = 1.05, B = 1.10, C = 1.20;
  27.  
  28.  
  29.  
  30.  
  31. }
  32. }
  33. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement