帮助ceil功能 [英] help with ceil function
本文介绍了帮助ceil功能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗯..这是我第一次使用这个功能......有人可以提供给我一个例子吗?谢谢
Uhm..it''s my 1st time using this fuction...could someone provide
anexample for me please? thanks
推荐答案
哦还有一件事>。<我如何使用sqrt函数?
oh yes one more thing >.< how do i use the sqrt function?
2007年3月18日07:51:16 -0700 comp.lang.c ++, ya ********* @ yahoo.com
写道,
On 18 Mar 2007 07:51:16 -0700 in comp.lang.c++, ya*********@yahoo.com
wrote,
>哦还有一件事>。<我如何使用sqrt函数?
>oh yes one more thing >.< how do i use the sqrt function?
您尝试了什么?发布一些代码!
结果与您想要/期望的结果有何不同?
What did you try? Post some code!
How did the result differ from what you wanted/expected?
#include< iostream>
#include< cstdlib>
#include< math.h>
using namespace std;
int main()
{
浮动重量;
cout<<"输入包裹重量;
cin>>重量;
if(weight< = 2)
{
cout< <" Cost is
#include <iostream>
#include <cstdlib>
#include <math.h>
using namespace std;
int main()
{
float weight;
cout<<"Enter parcel weight ";
cin>>weight;
if (weight <= 2)
{
cout<<"Cost is
这篇关于帮助ceil功能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文