//create a contract for voting //function for output the number of vote each candidate gets pragma solidity ^0.4.17; contract Vote { string canditate1_name; string canditate2_name; uint256 Count_canditate1_vote; uint256 Count_canditate2_vote; function Vote (string _canditate1Name, string _candidate2_name){ canditate1_name=_canditate1Name; canditate2_name=_candidate2_name; } function getCountofCandidate1() public view returns(uint256){ } function getCountofCandidate2() public view returns(uint256){ } }