//Write your own contracts here. Currently compiles using solc v0.4.15+commit.bbb8e64f. pragma solidity ^0.4.24; contract wasif { //uint256 public age; //string public name; function savee_person(string memory _name, uint256 _age ) { classx.push(Student({age: _age, name:_name})); } struct Student { uint256 age; string name; } Student[] public classx; }
0.4.18