Advertisement
Guest User

Untitled

a guest
Nov 20th, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6.  
  7. namespace Returtyper_og_parametre_1
  8. {
  9. class Program
  10. {
  11. static void Main(string[] args)
  12. {
  13. double parameter = 2.5;
  14.  
  15.  
  16. Bil Fiat = new Bil();
  17.  
  18.  
  19. Fiat.StartMotor();
  20. Fiat.SlukMotor();
  21. Fiat.FillGAS(parameter, true);
  22.  
  23. Console.WriteLine(Fiat.RemainingGas() + " remaining");
  24.  
  25.  
  26.  
  27. Console.ReadKey();
  28. }
  29. }
  30. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement