From bc8e6fe920bb34e747fb3d32af2f51f3a87b4f4a Mon Sep 17 00:00:00 2001 From: MULAYAM SINGH YADAV <72188675+msy8795@users.noreply.github.com> Date: Thu, 1 Oct 2020 14:20:00 +0530 Subject: [PATCH] Update 13-if-else.c --- 13-if-else.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/13-if-else.c b/13-if-else.c index 9c5197e..fcdfe0d 100644 --- a/13-if-else.c +++ b/13-if-else.c @@ -2,14 +2,14 @@ int main(){ int age; - printf("Enter your age:\n"); + printf("Enter your age:-\n"); scanf("%d", &age); if (age>=18) { printf("You can drive\n"); } - if (age==50) + else if (age==50) { printf("Half-century"); } @@ -22,4 +22,4 @@ int main(){ return 0; -} \ No newline at end of file +}