Skip to content
Permalink
ab7c957701
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
41 lines (32 sloc) 825 Bytes
pragma solidity ^0.8.12;
contract SimpleStorage {
string _fname;
string _email;
string _pass;
uint cnumber;
function set(string memory name, string memory email, string memory password, uint contact) public
{
_fname = name;
_email = email;
_pass = password;
cnumber = contact;
}
function get() public view returns (string memory ,string memory,string memory,uint)
{
return ( _fname, _email, _pass, cnumber);
}
}
contract Login
{
string _email;
string _pass;
function set(string memory email, string memory password) public
{
_email = email;
_pass = password;
}
function get() public view returns (string memory, string memory)
{
return (_email, _pass);
}
}