Using the Contract name Ophir departmental Contract, where the name of workers in Ophir are negligible:
-
Build a storage contract storing the name of various departments in Ophir by name and the number of workers Then build an array to store them in sequence .
-
Write a contract to call the number of workers in Ophir departments in Ophir by the name of departments .
-
Write a contract to deploy the Ophir departmental contract, store the number of workers in Ophir department on different indexes(contract address) and get them
-
Write a contract to add more workers to the number of workers stored.