online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
#pragma warning(disable:4996) // scanf() λ³΄μ•ˆ κ²½κ³  λΉ„ν™œμ„±ν™” #include <stdio.h> // ν‘œμ€€ μž…μΆœλ ₯ ν•¨μˆ˜ #include <math.h> // sin, cos, tan μ‚¬μš©μ„ μœ„ν•œ 헀더 파일 int main(){ // ν”„λ‘œκ·Έλž¨ μ‹œμž‘, main ν•¨μˆ˜ μ •μ˜ double angle, sin_val, cos_val, tan_val; // μ‹€μˆ˜ν˜• λ³€μˆ˜ μ„ μ–Έ: μž…λ ₯받을 각도, 사인 κ°’, 코사인 κ°’, νƒ„μ  νŠΈ κ°’ printf("각도(λΌλ””μ•ˆ) μž…λ ₯: "); scanf("%lf", &angle); // 각도(λΌλ””μ•ˆ) μž…λ ₯ μš”μ²­ // sin, cos, tan κ°’ 계산 // μž…λ ₯받은 κ°λ„μ˜ 사인, 코사인, νƒ„μ  νŠΈ 값을 // 각각 sin_val, cos_val, tan_val에 μ €μž₯ sin_val = sin(angle); cos_val = cos(angle); tan_val = tan(angle); printf("sin(%.2lf) = %lf\n", angle, sin_val); // 사인 κ°’ 좜λ ₯ printf("cos(%.2lf) = %lf\n", angle, cos_val); // 코사인 κ°’ 좜λ ₯ printf("tan(%.2lf) = %lf\n", angle, tan_val); // νƒ„μ  νŠΈ κ°’ 좜λ ₯ return 0; // ν”„λ‘œκ·Έλž¨ μ’…λ£Œ }

Compiling Program...

Command line arguments:
Standard Input: Interactive Console Text

                

                

Program is not being debugged. Click "Debug" button to start program in debug mode.

#FunctionFile:Line
VariableValue
RegisterValue
ExpressionValue