summaryrefslogtreecommitdiffstats
path: root/1
diff options
context:
space:
mode:
Diffstat (limited to '1')
-rw-r--r--1/1.c1
-rw-r--r--1/2.c1
-rw-r--r--1/3.c1
-rw-r--r--1/4.c1
-rw-r--r--1/5.c1
-rw-r--r--1/6.c1
-rw-r--r--1/7.c1
7 files changed, 2 insertions, 5 deletions
diff --git a/1/1.c b/1/1.c
index 5cf53fd..70aacff 100644
--- a/1/1.c
+++ b/1/1.c
@@ -1,7 +1,6 @@
#include <stdio.h>
/* Prints the famous "hello, world" string */
-
int main(int argc, char *argv[]) {
printf("hello, world\n");
return 0;
diff --git a/1/2.c b/1/2.c
index 182975e..6d7a762 100644
--- a/1/2.c
+++ b/1/2.c
@@ -1,7 +1,6 @@
#include <stdio.h>
/* Prints a formatted string containing an invalid escape sequence */
-
int main(int argc, char *argv[]) {
printf("hello \c world\n");
return 0;
diff --git a/1/3.c b/1/3.c
index c993843..42a0099 100644
--- a/1/3.c
+++ b/1/3.c
@@ -1,7 +1,6 @@
#include <stdio.h>
/* Prints a conversion table from fahrenheit to celsius */
-
int main(int argc, char *argv[]) {
float fahr, celsius;
int lower, upper, step;
diff --git a/1/4.c b/1/4.c
index d98787b..c5eb242 100644
--- a/1/4.c
+++ b/1/4.c
@@ -1,7 +1,6 @@
#include <stdio.h>
/* Prints a conversion table from celsius to fahrenheit */
-
int main(int argc, char *argv[]) {
float celsius, fahr;
int lower, upper, step;
diff --git a/1/5.c b/1/5.c
index fcaeb8e..617fe6b 100644
--- a/1/5.c
+++ b/1/5.c
@@ -1,7 +1,6 @@
#include <stdio.h>
/* Prints a conversion table from fahrenheit to celsius in reverse order */
-
int main(int argc, char *argv[]) {
int fahr;
diff --git a/1/6.c b/1/6.c
index c478c7a..240175e 100644
--- a/1/6.c
+++ b/1/6.c
@@ -1,5 +1,6 @@
#include <stdio.h>
+/* prints input characters */
int main(int argc, char *argv[]) {
int c;
diff --git a/1/7.c b/1/7.c
index 44abfd3..b44935d 100644
--- a/1/7.c
+++ b/1/7.c
@@ -1,6 +1,7 @@
#include <stdio.h>
+/* prints the value of EOF */
int main(int argc, char *argv[]) {
int c;