pragma solidity ^0.8.3;
contract Loop{
function loop()pubic{
for(uint i=0;i<10;i++){
if(i===3){
coutinue;
}
if(i==5){
break;
}
}
uint j;
while(j<10){
j++;
}
}
}
智能合约 solidity- Loop.sol
最新推荐文章于 2024-05-11 10:33:45 发布
pragma solidity ^0.8.3;
contract Loop{
function loop()pubic{
for(uint i=0;i<10;i++){
if(i===3){
coutinue;
}
if(i==5){
break;
}
}
uint j;
while(j<10){
j++;
}
}
}