Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- double m;
- int main(){
- printf("時間あたりのマイル数 -> ");
- scanf("%lf",&m);
- printf("時間あたりのキロメートル数 -> %f \n", (double)m / 0.6213712);
- return(0);
- }
- /*出力結果
- 時間あたりのマイル数 -> 13
- 時間あたりのキロメートル数 -> 20.921472
- */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement