用于计算X ^ Y的C ++程序 [英] C++ Program to Calculate X^Y

查看:136
本文介绍了用于计算X ^ Y的C ++程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

问题:

写一个程序使用函数计算X ^ Y,其中X和Y都是双精度,X是正数。 (提示:在< math.h>中调用函数pow())

Question:
Write a Program using Functions that calculates X^Y where both X and Y are doubles and X is positive. (Hints: Call the function pow() in <math.h>)

推荐答案

那你尝试过什么?你被困在哪里?
So what have you tried? Where are you stuck?



问题:

用函数编写程序计算X ^ Y,其中X和Y都是双精度,X是正数。 (提示:在< math.h>中调用函数pow())
Question:
Write a Program using Functions that calculates X^Y where both X and Y are doubles and X is positive. (Hints: Call the function pow() in <math.h>)



我不认为这是一个暗示;我认为这是一个完整的扰流板。如果你不认识

a提示,即使是在钢琴上跳舞你也不会觉得暗示

穿着紫色的芭蕾舞短裙唱着我我暗示了我是一个提示。


亲切的问候,


Jos

I don''t consider that a hint; I consider that a complete spoiler. If you don''t recognize
a hint like that you wouldn''t recognize a hint even if it were dancing on a piano
wearing a purple tutu singing "I am a hint; I am a hint".

kind regards,

Jos


我开始做的事情自上个月开始编程,我还是一个新手=(

i无法解决这个问题,这对我来说很难=(
i jus started to do programming since last month and i still a newbie =(
i cant solve the question ,it''s hard for me =(


这篇关于用于计算X ^ Y的C ++程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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