最大和最小数量的夹心数组

时间:2019-04-08 16:41:01

标签: javascript

我接到了在警报中输入数字的任务,并且当用户输入0以显示最大和最小数字时,我无法使用数组

i = 0;

while(true){
    ile = parseInt(prompt("Podaj liczbę"));   

    if(ile == 0)
        break;               

     //here i've a problem
     i++;

}

document.write("Max to: "+max+" Min to: "+min);

1 个答案:

答案 0 :(得分:0)

这是您的解决方案

ProcessEngineConfiguration cfg = new StandaloneProcessEngineConfiguration()
  .setDatabaseSchemaUpdate(ProcessEngineConfiguration.DB_SCHEMA_UPDATE_TRUE)
  .setDataSource(ds);

processEngine = cfg.buildProcessEngine();