Write your first Application in Remix IDE to Compile and Run our Solidity programming language ?

 Write your first Application in Remix IDE to Compile and Run our Solidity programming language ?


pragma solidity ^0.5.0;

contract SolidityTest {

   constructor() public{

   }

   function getResult() public view returns(uint){

      uint a = 1;

      uint b = 2;

      uint result = a + b;

      return result;

   }

}

Comments

Last 7 Days

How to use Local Variable for whose values are present till function is executing in solidity ?

Which HTML tag is used to give strikethrough effect to text?