Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
rohitscript authored Sep 14, 2022
1 parent 953ed3d commit 144db75
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions 02Day-Functions.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
// SPDX-License-Identifier: MIT
pragma solidity >=0.5.0 <0.9.0;

contract Function{
uint8 a=10;
function returnStateVariable( ) public view returns(uint8){
return a;
}
function returnLocalVariable( ) public pure returns(uint8){
uint8 b=20;
return b;
}
}

0 comments on commit 144db75

Please sign in to comment.