否则如果 [英] else if

查看:82
本文介绍了否则如果的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我被困在这里并且已经对其他if语句进行了各种研究,它似乎是我的意思。如果可以请帮忙。


I am stuck here and have done various research on else if statements and it seems to be what im meant to do. Please help if you can.


展开 | 选择 | Wrap | 行号

推荐答案

您的最终回报声明缺少一个分号...这是我看到的唯一一个简短的查看问题。
Your final return statement is missing a semicolon...that''s the only issue I saw with a brief look-over.


谢谢你,但仍然没有解决其他问题如果问题:(
Thanks for that but still doesn''t solve the else with out an if problem :(


代码的结构如下所示:


if {}

else {

否则如果{}

else {}

}


你看到了吗?问题现在?
The structure of your code looks like this:

if{}
else if {
else if {}
else {}
}

Do you see the problem now?


这篇关于否则如果的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆