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 sandbox attribute value ( allow-top-navigation) with < iframe > tag in HTML ? with example

What does TR mean in HTML?