Guest User

Untitled

a guest
Nov 20th, 2018
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.55 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5.  
  6. namespace bsuir_1_4
  7. {
  8.  
  9.     public struct element
  10.     {
  11.         element* Prev;
  12.         int value;
  13.     }
  14.  
  15.     public interface Stack
  16.     {
  17.         element* Head;
  18.         element* Curr;
  19.  
  20.         public void Add(int x);
  21.         public void WriteHead();
  22.         public void WriteAll();
  23.         public void Remove(int x);
  24.         public int Count();
  25.     }
  26.  
  27.     class Program
  28.     {
  29.         static void Main(string[] args)
  30.         {
  31.  
  32.         }
  33.     }
  34. }
Add Comment
Please, Sign In to add comment