/
MAIN.txt
39 lines (34 loc) · 1002 Bytes
/
MAIN.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Threading.Tasks;
using movieLibrary;
namespace midterm_again1
{
class Program
{
static void Main(string[] args)
{
try
{
Console.WriteLine("Movie Rental Input System");
MovieRental rental = new MovieRental();
rental.MovieInput();
Console.WriteLine("How many returns will be entered?");
int customerReturns = Convert.ToInt32(Console.ReadLine());
for (int i = 1; i <= customerReturns; i++)
{
MovieRental rental2 = new MovieRental();
rental2.ReturnedMovies();
}
}
catch (Exception ex)
{
Console.WriteLine(ex);
Console.ReadLine();
}
}
}
}