summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSadeep Madurange <smadurange@users.noreply.github.com>2021-11-18 19:32:26 +0800
committerSadeep Madurange <smadurange@users.noreply.github.com>2021-11-18 19:32:26 +0800
commit90a15aacce87b2e2f87d4629735ae4216a80764f (patch)
tree059b29a1db926bc9f8c50d26e9020b34e749e907
parent3244e6968c5af150ca1d85a727533301b349dd0d (diff)
downloadk&r-exercises-90a15aacce87b2e2f87d4629735ae4216a80764f.tar.gz
Code formatting.
-rw-r--r--1/13.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/1/13.c b/1/13.c
index 8ecc549..e08cf46 100644
--- a/1/13.c
+++ b/1/13.c
@@ -35,13 +35,10 @@ int main(int argc, char *argv[]) {
size = data[i];
if (size == 0)
break;
-
- printf("%3d: ", i + 1);
-
- for (j = 0; j < size; j++) {
- putchar('x');
- }
+ printf("%3d: ", i + 1);
+ for (j = 0; j < size; j++)
+ putchar('x');
putchar('\n');
}