วันเสาร์ที่ 15 สิงหาคม พ.ศ. 2552

ฟังก์ชัน iostream

#include
void set(int arm,int leg,float height);
int main()
{int arm=2;
int leg=2;
float height=170.5;
set(arm,leg,height);
set(5,4,15.6);
return 0;
}
void set(int arm,int leg,float height)
{

cout<<""There are "<< are <<"are"<< leg <<"legs and "<< height <<"\n";
}

ไม่มีความคิดเห็น:

แสดงความคิดเห็น