pragma solidity ^0.4.17; /*Challenge 1 : Now Alice can see the model of the car by clicking on the getCarModel function. Alice also wants to know the daily rate for the car. Bob has to add that feature in our contract. So Bob also adds one more entity into his contract along with model called daily_rate. He also adds the function getDailyRate so that alice can view the daily rate.*/ contract Car { string model; uint256 daily_rate; function Car(string argmodel,uint256 arg_daily_rate) public { model = argmodel; daily_rate = arg_daily_rate; } function getCarModel() public view returns(string) { return model; } function setDailyRate(uint256 arg_dailyRate) public { daily_rate = arg_dailyRate; } function getDailyRate () public view returns (uint256) { return daily_rate; } }