xxxxxxxxxx
contract Contract{
uint public i=1;
//View functions are read only function and do not modify the state of the block chain (view data on the block chain).
function Pure(uint x) external pure returns(uint) {
return x;
}
//Pure functions do not read and do not modify state of the block chain. All the data the pure function is concerned with is either passed in or defined in the functions scope.
function View(uint x) external view returns(uint) {
return x+i;
}
}