Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- public class Program
- {
- public static void Main()
- {
- }
- public class Truck{
- public string truck;
- public string bigTruck;
- public string litleTruck;
- public string loadcapacity;
- public string multiplefreight;
- public Truck (string truck, string bigTruck, string litleTruck, string loadcapacity , string multiplefreight)
- {
- this.truck = truck;
- this.bigTruck = bigTruck;
- this.litleTruck = litleTruck;
- this.loadcapacity = loadcapacity;
- this.multiplefreight = multiplefreight;
- }
- }
- class Freight{
- string water;
- string silk;
- string rock;
- double kg;
- public Freight(string water, string silk, string rock, double kg)
- {
- this.water = water;
- this.silk = silk;
- this.rock = rock;
- this.kg = kg;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement