Home Forums US Life C 코드 질문드립니다 This topic has [5] replies, 0 voices, and was last updated 5 years ago by 배워서남준다. Now Editing “C 코드 질문드립니다” Name * Password * Email Topic Title (Maximum Length 80) C 프로그래밍 고수님들, 감히 질문 하나만 올리겠습니다. 아래 문제에 대한 그 밑에 코드를 입력을 했을 때 출력값은 똑같이 나오는데, 계속 틀렸다고 나옵니다. 어떤 것이 문제인지도 파악못하고 있는 중입니다.. 상세히 설명과 코드 좀 수정해주시면 정말 정말 감사하겠습니다..은혜 잊지 않겠습니다 ㅠ 문제 : Write a program that converts integer Fahrenheit temperatures from 0 to 212 degrees to floating-point Celsius temperatures with 3 digits of precision. Perform the calculation using the formula celsius = 5.0 / 9.0 * (fahrenheit - 32). The output should be printed in two right-justified columns of 10 characters each, and the Celsius temperatures should be preceded by a sign for both positive and negative values. 입력한 코드: #include <stdio.h> int main() { int f; for (f = 0; f <= 212; f++) { printf("%10d%+10.3f\n", f, ((float)f - 32.0) * 5.0 / 9.0); } return 0; } I agree to the terms of service Update List