Advertisement
Guest User

Untitled

a guest
Jul 30th, 2016
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5.  
  6. namespace ConsoleApplication1
  7. {
  8. class Program
  9. {
  10. static void Main(string[] args)//abdalla
  11. {
  12. int bag;
  13. Console.WriteLine("sell for bag");//abdallah
  14. bag=int.Parse(Console.ReadLine());//abdalla
  15. if (bag>50)
  16. {
  17. Console.WriteLine("Ten 100 discount on the product");//abdalla
  18. bag = int.Parse(Console.ReadLine());//abdalla
  19.  
  20. }
  21.  
  22. if (bag < 50)//abdalla
  23. {
  24.  
  25. Console.WriteLine("There is no discount on the product");//abdalla
  26.  
  27. }
  28. Console.ReadKey();
  29. }
  30. }
  31. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement