thai bath to usa,japan,china | C code

#include<stdio.h> main() { float thai,usa,japan,china; printf("Input thai bath: "); scanf("%f",&thai); usa=thai/33; japan=thai/28; china=thai/5; printf("%.0f thai bath= %.2f usa\n",thai,usa); printf("%.0f thai bath= %.2f japan\n",thai,japan); printf("%.0f thai bath= %.2f china\n",thai,china); }

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.