在Android Studio中运行配置

时间:2019-03-08 12:16:06

标签: android android-studio

此图片发生了什么。 运行配置有什么问题?

Android Studio运行配置:

我已经下载了 SDK工具, SDK构建工具, 平台, 平台工具 android支持存储库, google USB驱动程序, 摇篮 最新版本

请帮助。

1 个答案:

答案 0 :(得分:0)

首先在Android Studio中尝试

$rent       = 100000; // rent amount
$amountPaid = 350000; // amount paid by tenant
$length     = ceil($amountPaid / $rent); // number of months paid for
$temp1      = $amountPaid;
for ($c = 1; $c <= $length; $c++) {
    if($temp1 < $rent){ // assigning left amount to rent if less than amount left
        $rent = $temp1;
    }
    if($temp1 > $rent){ // checking if amount left is still more than per month rent then minus that rent from pending paid amount
        $temp1 = $temp1 - $rent;
    }
    assignRentFunction($c, $rent);
}
function assignRentFunction($count, $amt)
{
    echo "Month " . $count . ': ' . $amt . "<br>";
}