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; }