pragma solidity ^0.4.17; /*As Bob needs to publish his car details, he needs to create a contract which shows just the model of the car. As soon as he deploys the contract named Car all the other accounts in the network can view the model of the car.*/ contract Car { string model; function Car(string argmodel) public { model = argmodel; } function getCarModel() public view returns(string) { return model; } }