From f62dec44d2d69d1128a6e52e10d6169f0c3c76c3 Mon Sep 17 00:00:00 2001 From: skm15172429 <71369268+skm15172429@users.noreply.github.com> Date: Fri, 18 Sep 2020 10:12:24 +0530 Subject: [PATCH] Sachin. c --- .../m1-code-challenges-solution/m1-t6-e3.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/m1-getting-started-with-programming-in-c/m1-code-challenges-solution/m1-t6-e3.c b/m1-getting-started-with-programming-in-c/m1-code-challenges-solution/m1-t6-e3.c index db02ec2..c3c15db 100644 --- a/m1-getting-started-with-programming-in-c/m1-code-challenges-solution/m1-t6-e3.c +++ b/m1-getting-started-with-programming-in-c/m1-code-challenges-solution/m1-t6-e3.c @@ -3,11 +3,11 @@ int main() { char name[10] = "India"; - char dollar = '$'; + char x = '$'; float gdp = 2.2; int year = 2015; - printf("As economic reforms picked up the pace, %s's GDP grew five-fold to reach US%c%.1f trillion in %d (as per IMF estimates).", name, dollar, gdp, year); + printf("As economic reforms picked up the pace, %s's GDP grew five-fold to reach US%c%.1f trillion in %d (as per IMF estimates).", name, x, gdp, year); return 0; }