質問編集履歴
1
con変数の定義について書き加えました。さらに全体のソースも共有しました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -58,7 +58,7 @@
|
|
58
58
|
|
59
59
|
printf("\n\nResult: v = %f\n\nDo you want to calculate another velocity?[Y/N]", v);
|
60
60
|
|
61
|
-
scanf_s("%s", &con); //続行の是非をYかNで入力します。
|
61
|
+
scanf_s("%s", &con); //続行の是非をYかNで入力します。conはchar型のグローバル変数です。
|
62
62
|
|
63
63
|
|
64
64
|
|
@@ -111,3 +111,7 @@
|
|
111
111
|
|
112
112
|
|
113
113
|
Visual Studio Community 2017
|
114
|
+
|
115
|
+
全体のコードはこちらです...
|
116
|
+
|
117
|
+
https://www.onlinegdb.com/online_c_compiler
|