java中的Expontional函数和元音的数量 [英] Expontional Function in java and the number of vowels

查看:49
本文介绍了java中的Expontional函数和元音的数量的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

,每个人......你好吗?

展开 | 选择 < span class =codeDivider> | Wrap | 行号

解决方案

首先,这些看起来像是家庭作业问题。所以,如果您有特定的技术问题或其他什么,那么我们将为您解答。然而,我们并不是在做人们的家庭作业。这是你的工作。


因此,在您的数学递归问题中,错误发生在您发布的代码的第4行和第5行。


至于你的第二个问题,你有代码,我甚至不确定是否会编译。你明白你想要达到的目标吗?


运气!

Oralloy


第二个我已经自己解决了它并且它已经奏效了!所以忘了它,我现在就把它删除!


但是第一个,即使是它的作业,我没有

说我需要有人来解决它我几乎解决了它/>
但是..我有exp的问题。功能!!

这里我得到了错误&而且我知道我犯了一个错误......但是我不知道它是什么!

返回x +(x /(CalculateTheExp(x,n)));


YellowJ,


问题就是你正在超载x和n。


在第4和第5行仔细看一下。


那么,如果你还是没有看到它,将功能原型更改为:

展开 | 选择 | Wrap | 行号


Hii , every body .. how are you ?

Expand|Select|Wrap|Line Numbers

解决方案

First off, these look like homework questions. So, if you have specific technique questions or whatever, then we''ll answer them for you. We are not, however, in the business of doing folks homework. That''s your job.

So, in your mathematic recursion problem, the error is in lines 4 and 5 of the code you posted.

As for your second problem, you have code that I''m not sure will even compile. Are you clear on what you''re trying to achieve?

Luck!
Oralloy


the second one i already solved by myself and it''s worked ! so forget it and i''ll removed now!

but the first one even if it''s homework , i did not
say i need someone to solve it to me i almost solved it
but .. i have problem with exp. function !!
here where i got the error & and i know i made
a mistake .. but i do not know what it is !!
return x+(x/(CalculateTheExp(x,n)));


YellowJ,

The problem is that you are overloading x and n.

Look very carefully at lines 4 and 5 for a moment.

Then, if you still don''t see it, change the function prototype to this:

Expand|Select|Wrap|Line Numbers


这篇关于java中的Expontional函数和元音的数量的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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