void Centsyard (int);
int main () {
int cent;
cout<"Enter Centimas ( 0 to Stop ):"; cin>cent;
while (cent != 0){
cout
Centsyard (cent);
cout<"\nEnter Centimas ( 0 to Stop ):"; cin>cent;
}
cout<"~*~ -GOOD BYE- ~*~";
return 0;
}
void Centsyard (int cent){
int yard;
yard=(cent/90);
cent=(cent-(yard*90));
cout
return ;
}
ไม่มีความคิดเห็น:
แสดงความคิดเห็น