用solidity编写汽车报价合约:pragma solidity^0.4.22;contract Car{ string brand; uint price; constructor(string initBrand,uint initPrice) public{ brand = initBrand; price = initPrice; function setBrand(string newBrand) view returns(string){ brand = newBrand; } function getBrand() public view returns(string){ return brand; } function setPrice(uint newPrice) view returns(uint){ price = newPrice; } }继续加油

!