▼ กำลังโหลดข้อมูล... ▼
แสดงความคิดเห็น
คุณสามารถแสดงความคิดเห็นกับกระทู้นี้ได้ด้วยการเข้าสู่ระบบ
กระทู้ที่คุณอาจสนใจ
อ่านกระทู้อื่นที่พูดคุยเกี่ยวกับ
C++
สอบถามเกี่ยวกับการเขียนโปรแกรม Dev c+++
#include <conio.h>
int main()
{
float inches,centimeters;
printf("Enter number of inches : ");
scanf(, &inches);
centimeters = (inches * 2.5);
printf("Answer is :", centimeters);
getch ();
}
ผมเขียนโปรแกรมแบบนี้ถูกมั้ยครับ แล้วทำไมตอนรันต์ ใส่ อะไร มันก็ได้แค่ 0.000000 ล่ะครับ