From 421741675e2cf5c5f997da8b89400bb546759eb7 Mon Sep 17 00:00:00 2001 From: Subhadeep Mandal <63490884+Subhadeep0506@users.noreply.github.com> Date: Wed, 30 Sep 2020 23:13:23 +0530 Subject: [PATCH 1/3] Update README.md Added description of first program. --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index adeeab4..0e0d9ae 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,5 @@ # C c language codes collections +Overview of the Progrms: +----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- +char.c -Requests user to input a character and displays it's Binary and Hexadecimal equivalents respectively. Program terminates on hitting 'enter'. From afb7c531abf616e0adbe2541155cfedb13100f61 Mon Sep 17 00:00:00 2001 From: Subhadeep Mandal <63490884+Subhadeep0506@users.noreply.github.com> Date: Wed, 30 Sep 2020 23:24:13 +0530 Subject: [PATCH 2/3] added descriptions for first 2 files. --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 0e0d9ae..f07504a 100644 --- a/README.md +++ b/README.md @@ -3,3 +3,6 @@ c language codes collections Overview of the Progrms: ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- char.c -Requests user to input a character and displays it's Binary and Hexadecimal equivalents respectively. Program terminates on hitting 'enter'. + +file.c -Requests user to input radius and calculates the area of circle of particular radius; stores the results in a text file in the D: directory. + From df75877cdc3bcd9139619f30c1e3363823e2c354 Mon Sep 17 00:00:00 2001 From: Subhadeep Mandal <63490884+Subhadeep0506@users.noreply.github.com> Date: Wed, 30 Sep 2020 23:28:03 +0530 Subject: [PATCH 3/3] updated the display message for user input. --- funbasic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/funbasic.c b/funbasic.c index ccebd73..e4c920f 100644 --- a/funbasic.c +++ b/funbasic.c @@ -17,7 +17,7 @@ void funAreaOfCircle(void) { float a; float r; - printf("enter r "); + printf("enter radius: "); scanf("%f",&r); a = 3.14 * r * r;