From 47f8fc2341fa6ed8035f8ba69506b4a3a3c544ba Mon Sep 17 00:00:00 2001 From: Sambo Chea Date: Sat, 1 Aug 2020 09:29:07 +0700 Subject: [PATCH] Updated work1 with read menu selected --- tests/work1 | Bin 16920 -> 16920 bytes tests/work1.c | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/work1 b/tests/work1 index e2fcc8c06a71a12d846b43c8b18db0c557b10bd9..0fa132451dd383c12013a707e4bbb2f0c160f81a 100755 GIT binary patch delta 228 zcmbQy!Z@RaaRUdF;1>l3F!-Y20HHTaG8qX;P62W~I*-5L{PX|6N2lu#kLKDR45c#r zr%g@~aT8h#l-&VR{-Wde|NpNA_8*?SM?`_~*5%9N}e+rPE1Eh0+^cf)C0Hhav`2T+okaqk0|Nk8jA4vZJ(l>#$3?l=>A0TZ5q;tOf u|KGy6*-i0~0OOa*9}Pt}%NcbsF@D*+(&RiR_B_ delta 227 zcmbQy!Z@RaaRUdF;0FZ;F!-S00HHTaG8qX;P6l#4I*-5L{PX|6N2lu#kLKDR45c#r zr%p~0aT8htl-&VR{-Wde|NpNA_8*$OM?`_~=H|O1i@7H^Dink7|@sI%HhshreMK{YCbulr1*u2u@JSR}3(oUZf;f0NM>C6Cajacgd diff --git a/tests/work1.c b/tests/work1.c index 7a79f5e..2c145ae 100644 --- a/tests/work1.c +++ b/tests/work1.c @@ -60,7 +60,7 @@ int main() display_menu(); - scanf("enter the option: ", selected); + scanf("\nenter the option: ", selected); menu(selected);