Question: create a uml diagram including these codes namespace MyPart } internal class Booking } private int booking _ id; private string date; private Flight flight;
create a uml diagram including these codes
namespace MyPart
internal class Booking
private int bookingid;
private string date;
private Flight flight;
private Customer customer;
public Bookingint id Flight flight, Customer customer
bookingid id;
date DateTime.Now.ToString@MMddyyyy h:mm tt;
this.flight flight;
this.customer customer;
create uml diagram
using System;
using System.Collections.Generic;
using System.Ling;
using System.Runtime.Remoting;
using System.Text;
using System.Threading.Tasks;
Enamespace MyPart
internal class Booking
private int bookingid;
private string date;
private Flight flight;
private Customer customer;
public Bookingint id Flight flight, Customer customer
bookingid id;
date DateTime.Now.ToString@MMddyyyy h:mm tt;
this.flight flight;
this.customer customer;
No issues found
sing MyPart;
Enamespace compassignment
internal class Program
STATIC coordinator and managers here
static CustomerManager customerManager;
static FlightManager flightManager;
static BookingManager bookingManager;
static FIleIO fileIO;
static Coordinator coordinator;
static bool fullexit false;
TODO:
Implement choice processing DONE
Write a QUICK FRAMEWORK LOGIC DONE
On submenus, when choosing invalid choices, program
Hook up all backend classes
Implement fileIO use a different external class
static int getMenuChoiceint range
Noiscurs int rhnire
No issues found
sing System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
Enamespace compassignment
internal class FlightManager
private Flight flightList;
private int numFlight;
private int maxFlight;
public FlightManagerint max
this.numFlight ;
this.maxFlight max;
this.flightList new Flightmax;
public Flight getFlightList return this.flightList;
nuhl in int notNumFl inhter & noturn thic numEl inht.
No issues found
Damespace compassignment
internal class Flight
private int flightNumber;
private string flightOrigin;
private string flightDestination;
private int flightMaxSeats;
private int numPassengers;
public Flightint flightnum, string flightorg, string fl
this.flightNumber flightnum;
this.flightOrigin flightorg;
this.flightDestination flightdest;
this.numPassengers passnum;
if numPassengers maxseats
No issues found
Enamespace compassignment
internal class Flight
private int flightNumber;
private string flightOrigin;
private string flightDestination;
private int flightMaxSeats;
private int numPassengers;
public Flightint flightnum, string flightorg, string fligh
this.flightNumber flightnum;
this.flightOrigin flightorg;
this.flightDestination flightdest;
this.numPassengers passnum;
if numPassengers maxseats
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
