From 7306322e488d01dea1f17d392feaae82fe5aba17 Mon Sep 17 00:00:00 2001 From: aditi3004 <99550333+aditi3004@users.noreply.github.com> Date: Sun, 15 May 2022 11:44:48 +0530 Subject: [PATCH 01/16] Create team7-EDoc --- team7-EDoc | 1 + 1 file changed, 1 insertion(+) create mode 100644 team7-EDoc diff --git a/team7-EDoc b/team7-EDoc new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/team7-EDoc @@ -0,0 +1 @@ + From 3f1922b538c7fc132f3c9d9093b7e5794a3cbef1 Mon Sep 17 00:00:00 2001 From: aditi3004 <99550333+aditi3004@users.noreply.github.com> Date: Sun, 15 May 2022 11:47:41 +0530 Subject: [PATCH 02/16] Update team7-EDoc --- team7-EDoc | 98 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 98 insertions(+) diff --git a/team7-EDoc b/team7-EDoc index 8b13789..9dfd953 100644 --- a/team7-EDoc +++ b/team7-EDoc @@ -1 +1,99 @@ +#include +#include +#include +#include +int main() +{ + struct new_entries + { + char name_place[100]; + float amt_paid; + char day[20]; + char date[20]; + }; + int n, del_user, del_comp = 0; + printf("****^^^^WELCOME TO THE VIRTUAL WALLET^^^^****"); + printf("\n enter the no.of entries: \n"); + scanf("%d", &n); + + struct new_entries first[n]; + int i, j, cont; + do + { + printf("\n what would you like to do?"); + + printf("\n\n1.Accept Entries \n2. Delete Entries\n"); + printf("3. Paying History\n"); + + printf("\n\nEnter one of the above : "); + scanf("%d", &j); + + switch (j) + { + case 1: + + for (i = 0; i < n; i++) + + { + printf("*******ENTRY NO.=%d******", i + 1); + printf("\n enter the amount spent:\n"); + scanf("%f", &first[i].amt_paid); + fflush(stdin); + printf("\nenter the place where u spent:\n"); + gets(first[i].name_place); + fflush(stdin); + printf("enter the day:\n"); + gets(first[i].day); + fflush(stdin); + printf("enter the date:\n"); + gets(first[i].date); + fflush(stdin); + } + for (i = 0; i < n; i++) + { + printf("** FOR ENTRY NO. %d** \n ", i + 1); + printf("place : %s\n", first[i].name_place); + printf("amount spent : %f\n", first[i].amt_paid); + printf("day :%s\n", first[i].day); + printf("date :%s\n", first[i].date); + } + break; + case 2: + printf("to delete the last entry enter 1;"); // 012345 + scanf("%d", &del_user); // eg3 but cuz array start form 0 its index wlll be 2 + del_comp = del_user - 1; + + for (int i = del_comp; i < n; i++) + { + first[i].name_place == first[i + 1].name_place; + first[i].day == first[i + 1].day; + first[i].date == first[i + 1].date; + } + n--; + printf("\n for seeing entries remaining after deletion press 1 and then 3"); + break; + + case 3: + printf("on deleting the entries are: \n"); + for (i = 0; i < n; i++) + { + printf("\n ^^^^^for entry %d^^^^^", i); + printf("place : %s\n", first[i].name_place); + printf("amount spent : %f\n", first[i].amt_paid); + printf("day :%s\n", first[i].day); + printf("date :%s\n", first[i].date); + } + break; + // 4 array for each datatype in the struct + // 4 for loop for traversing int the arraty an deleting the arr[position] wala element + // variable defionr karna padega for takin amt ka input and accus index ko traverse karke amt wale me se + // nikalenge n us index ko use karke baaki teeno arraysw me se us position ka element delete karenge + + default: + printf("Wrong input choice"); + } + printf("\nEnter 1 to continue or 0 to end"); + scanf("%d", &cont); + } while (cont == 1); +} From 5a9e01cc551285c746f5a5ee279a86d153832465 Mon Sep 17 00:00:00 2001 From: Ananya9703 <99765869+Ananya9703@users.noreply.github.com> Date: Sun, 15 May 2022 13:39:02 +0530 Subject: [PATCH 03/16] Update team7-EDoc Video link : https://drive.google.com/file/d/1PlJSCqNBHFL9168D6gKZVZsHfVCVezob/view?usp=sharing --- team7-EDoc | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/team7-EDoc b/team7-EDoc index 9dfd953..5a9511a 100644 --- a/team7-EDoc +++ b/team7-EDoc @@ -60,8 +60,8 @@ int main() } break; case 2: - printf("to delete the last entry enter 1;"); // 012345 - scanf("%d", &del_user); // eg3 but cuz array start form 0 its index wlll be 2 + printf("to delete the last entry enter 1;"); + scanf("%d", &del_user); del_comp = del_user - 1; for (int i = del_comp; i < n; i++) @@ -85,11 +85,6 @@ int main() printf("date :%s\n", first[i].date); } break; - // 4 array for each datatype in the struct - // 4 for loop for traversing int the arraty an deleting the arr[position] wala element - // variable defionr karna padega for takin amt ka input and accus index ko traverse karke amt wale me se - // nikalenge n us index ko use karke baaki teeno arraysw me se us position ka element delete karenge - default: printf("Wrong input choice"); } From 997c531e35b2866fe02312fb073bb986f6a12da2 Mon Sep 17 00:00:00 2001 From: aditi3004 <99550333+aditi3004@users.noreply.github.com> Date: Sun, 15 May 2022 13:43:00 +0530 Subject: [PATCH 04/16] project video: the link to the project video: ve.google.com/file/d/1PlJSCqNBHFL9168D6gKZVZsHfVCVezob/view --- README.md | 95 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 95 insertions(+) diff --git a/README.md b/README.md index 90dc15c..2d8ff70 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,97 @@ # Buffer_3.0 Buffer 3.0 Repository to submit your projects +#include +#include +#include +#include + +int main() +{ + struct new_entries + { + char name_place[100]; + float amt_paid; + char day[20]; + char date[20]; + }; + int n, del_user, del_comp = 0; + printf("****^^^^WELCOME TO THE VIRTUAL WALLET^^^^****"); + printf("\n enter the no.of entries: \n"); + scanf("%d", &n); + + struct new_entries first[n]; + int i, j, cont; + do + { + printf("\n what would you like to do?"); + + printf("\n\n1.Accept Entries \n2. Delete Entries\n"); + printf("3. Paying History\n"); + + printf("\n\nEnter one of the above : "); + scanf("%d", &j); + + switch (j) + { + case 1: + + for (i = 0; i < n; i++) + + { + printf("*******ENTRY NO.=%d******", i + 1); + printf("\n enter the amount spent:\n"); + scanf("%f", &first[i].amt_paid); + fflush(stdin); + printf("\nenter the place where u spent:\n"); + gets(first[i].name_place); + fflush(stdin); + printf("enter the day:\n"); + gets(first[i].day); + fflush(stdin); + printf("enter the date:\n"); + gets(first[i].date); + fflush(stdin); + } + for (i = 0; i < n; i++) + { + printf("** FOR ENTRY NO. %d** \n ", i + 1); + printf("place : %s\n", first[i].name_place); + printf("amount spent : %f\n", first[i].amt_paid); + printf("day :%s\n", first[i].day); + printf("date :%s\n", first[i].date); + } + break; + case 2: + printf("to delete the last entry enter 1;"); + scanf("%d", &del_user); + del_comp = del_user - 1; + + for (int i = del_comp; i < n; i++) + { + first[i].name_place == first[i + 1].name_place; + first[i].day == first[i + 1].day; + first[i].date == first[i + 1].date; + } + n--; + printf("\n for seeing entries remaining after deletion press 1 and then 3"); + break; + + case 3: + printf("on deleting the entries are: \n"); + for (i = 0; i < n; i++) + { + printf("\n ^^^^^for entry %d^^^^^", i); + printf("place : %s\n", first[i].name_place); + printf("amount spent : %f\n", first[i].amt_paid); + printf("day :%s\n", first[i].day); + printf("date :%s\n", first[i].date); + } + break; + + default: + printf("Wrong input choice"); + } + printf("\nEnter 1 to continue or 0 to end"); + scanf("%d", &cont); + } while (cont == 1); +} From 6a2f611313630de8b10532d04ad0a42b7e159d1f Mon Sep 17 00:00:00 2001 From: Ananya9703 <99765869+Ananya9703@users.noreply.github.com> Date: Sun, 15 May 2022 13:43:30 +0530 Subject: [PATCH 05/16] Create Video Link --- Video Link | 1 + 1 file changed, 1 insertion(+) create mode 100644 Video Link diff --git a/Video Link b/Video Link new file mode 100644 index 0000000..66af936 --- /dev/null +++ b/Video Link @@ -0,0 +1 @@ +https://drive.google.com/file/d/1PlJSCqNBHFL9168D6gKZVZsHfVCVezob/view?usp=sharing From a15e3a741d7c986f695524b8414301dc36cc2929 Mon Sep 17 00:00:00 2001 From: aditi3004 <99550333+aditi3004@users.noreply.github.com> Date: Sun, 15 May 2022 13:51:12 +0530 Subject: [PATCH 06/16] Update README.md --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index 2d8ff70..bcd781b 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,21 @@ # Buffer_3.0 Buffer 3.0 Repository to submit your projects + + + + + + + + + + + + + + + + #include #include #include From 0af7f172f71c033c441b7304bfaa249c36a0956d Mon Sep 17 00:00:00 2001 From: Ananya9703 <99765869+Ananya9703@users.noreply.github.com> Date: Sun, 15 May 2022 13:57:31 +0530 Subject: [PATCH 07/16] Delete README.md --- README.md | 113 ------------------------------------------------------ 1 file changed, 113 deletions(-) delete mode 100644 README.md diff --git a/README.md b/README.md deleted file mode 100644 index bcd781b..0000000 --- a/README.md +++ /dev/null @@ -1,113 +0,0 @@ -# Buffer_3.0 -Buffer 3.0 Repository to submit your projects - - - - - - - - - - - - - - - - -#include -#include -#include -#include - -int main() -{ - struct new_entries - { - char name_place[100]; - float amt_paid; - char day[20]; - char date[20]; - }; - int n, del_user, del_comp = 0; - printf("****^^^^WELCOME TO THE VIRTUAL WALLET^^^^****"); - printf("\n enter the no.of entries: \n"); - scanf("%d", &n); - - struct new_entries first[n]; - int i, j, cont; - do - { - printf("\n what would you like to do?"); - - printf("\n\n1.Accept Entries \n2. Delete Entries\n"); - printf("3. Paying History\n"); - - printf("\n\nEnter one of the above : "); - scanf("%d", &j); - - switch (j) - { - case 1: - - for (i = 0; i < n; i++) - - { - printf("*******ENTRY NO.=%d******", i + 1); - printf("\n enter the amount spent:\n"); - scanf("%f", &first[i].amt_paid); - fflush(stdin); - printf("\nenter the place where u spent:\n"); - gets(first[i].name_place); - fflush(stdin); - printf("enter the day:\n"); - gets(first[i].day); - fflush(stdin); - printf("enter the date:\n"); - gets(first[i].date); - fflush(stdin); - } - for (i = 0; i < n; i++) - { - printf("** FOR ENTRY NO. %d** \n ", i + 1); - printf("place : %s\n", first[i].name_place); - printf("amount spent : %f\n", first[i].amt_paid); - printf("day :%s\n", first[i].day); - printf("date :%s\n", first[i].date); - } - break; - case 2: - printf("to delete the last entry enter 1;"); - scanf("%d", &del_user); - del_comp = del_user - 1; - - for (int i = del_comp; i < n; i++) - { - first[i].name_place == first[i + 1].name_place; - first[i].day == first[i + 1].day; - first[i].date == first[i + 1].date; - } - n--; - printf("\n for seeing entries remaining after deletion press 1 and then 3"); - break; - - case 3: - printf("on deleting the entries are: \n"); - for (i = 0; i < n; i++) - { - printf("\n ^^^^^for entry %d^^^^^", i); - printf("place : %s\n", first[i].name_place); - printf("amount spent : %f\n", first[i].amt_paid); - printf("day :%s\n", first[i].day); - printf("date :%s\n", first[i].date); - } - break; - - default: - printf("Wrong input choice"); - } - printf("\nEnter 1 to continue or 0 to end"); - scanf("%d", &cont); - } while (cont == 1); -} From 84ab61e90cf148f32b4d8020684393de58f342ac Mon Sep 17 00:00:00 2001 From: Ananya9703 <99765869+Ananya9703@users.noreply.github.com> Date: Sun, 15 May 2022 13:57:48 +0530 Subject: [PATCH 08/16] Delete Video Link --- Video Link | 1 - 1 file changed, 1 deletion(-) delete mode 100644 Video Link diff --git a/Video Link b/Video Link deleted file mode 100644 index 66af936..0000000 --- a/Video Link +++ /dev/null @@ -1 +0,0 @@ -https://drive.google.com/file/d/1PlJSCqNBHFL9168D6gKZVZsHfVCVezob/view?usp=sharing From c4d78335a227d0a0ff27c60de6b00707dd98c45b Mon Sep 17 00:00:00 2001 From: aditi3004 <99550333+aditi3004@users.noreply.github.com> Date: Sun, 15 May 2022 14:01:36 +0530 Subject: [PATCH 09/16] the project video link: https://drive.google.com/file/d/1PlJSCqNBHFL9168D6gKZVZsHfVCVezob/view --- README.md | 98 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 98 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..38df9c2 --- /dev/null +++ b/README.md @@ -0,0 +1,98 @@ +# Buffer_3.0 +Buffer 3.0 Repository to submit your projects +#include +#include +#include +#include + +int main() +{ + struct new_entries + { + char name_place[100]; + float amt_paid; + char day[20]; + char date[20]; + }; + int n, del_user, del_comp = 0; + printf("****^^^^WELCOME TO THE VIRTUAL WALLET^^^^****"); + printf("\n enter the no.of entries: \n"); + scanf("%d", &n); + + struct new_entries first[n]; + int i, j, cont; + do + { + printf("\n what would you like to do?"); + + printf("\n\n1.Accept Entries \n2. Delete Entries\n"); + printf("3. Paying History\n"); + + printf("\n\nEnter one of the above : "); + scanf("%d", &j); + + switch (j) + { + case 1: + + for (i = 0; i < n; i++) + + { + printf("*******ENTRY NO.=%d******", i + 1); + printf("\n enter the amount spent:\n"); + scanf("%f", &first[i].amt_paid); + fflush(stdin); + printf("\nenter the place where u spent:\n"); + gets(first[i].name_place); + fflush(stdin); + printf("enter the day:\n"); + gets(first[i].day); + fflush(stdin); + printf("enter the date:\n"); + gets(first[i].date); + fflush(stdin); + } + for (i = 0; i < n; i++) + { + printf("** FOR ENTRY NO. %d** \n ", i + 1); + printf("place : %s\n", first[i].name_place); + printf("amount spent : %f\n", first[i].amt_paid); + printf("day :%s\n", first[i].day); + printf("date :%s\n", first[i].date); + } + break; + case 2: + printf("to delete the last entry enter 1;"); + scanf("%d", &del_user); + del_comp = del_user - 1; + + for (int i = del_comp; i < n; i++) + { + first[i].name_place == first[i + 1].name_place; + first[i].day == first[i + 1].day; + first[i].date == first[i + 1].date; + } + n--; + printf("\n for seeing entries remaining after deletion press 1 and then 3"); + break; + + case 3: + printf("on deleting the entries are: \n"); + for (i = 0; i < n; i++) + { + printf("\n ^^^^^for entry %d^^^^^", i); + printf("place : %s\n", first[i].name_place); + printf("amount spent : %f\n", first[i].amt_paid); + printf("day :%s\n", first[i].day); + printf("date :%s\n", first[i].date); + } + break; + + + default: + printf("Wrong input choice"); + } + printf("\nEnter 1 to continue or 0 to end"); + scanf("%d", &cont); + } while (cont == 1); +} From 243579a008bff5441aea86d8ed12a48ac0bac27d Mon Sep 17 00:00:00 2001 From: aditi3004 <99550333+aditi3004@users.noreply.github.com> Date: Sun, 15 May 2022 14:02:04 +0530 Subject: [PATCH 10/16] Delete README.md --- README.md | 98 ------------------------------------------------------- 1 file changed, 98 deletions(-) delete mode 100644 README.md diff --git a/README.md b/README.md deleted file mode 100644 index 38df9c2..0000000 --- a/README.md +++ /dev/null @@ -1,98 +0,0 @@ -# Buffer_3.0 -Buffer 3.0 Repository to submit your projects -#include -#include -#include -#include - -int main() -{ - struct new_entries - { - char name_place[100]; - float amt_paid; - char day[20]; - char date[20]; - }; - int n, del_user, del_comp = 0; - printf("****^^^^WELCOME TO THE VIRTUAL WALLET^^^^****"); - printf("\n enter the no.of entries: \n"); - scanf("%d", &n); - - struct new_entries first[n]; - int i, j, cont; - do - { - printf("\n what would you like to do?"); - - printf("\n\n1.Accept Entries \n2. Delete Entries\n"); - printf("3. Paying History\n"); - - printf("\n\nEnter one of the above : "); - scanf("%d", &j); - - switch (j) - { - case 1: - - for (i = 0; i < n; i++) - - { - printf("*******ENTRY NO.=%d******", i + 1); - printf("\n enter the amount spent:\n"); - scanf("%f", &first[i].amt_paid); - fflush(stdin); - printf("\nenter the place where u spent:\n"); - gets(first[i].name_place); - fflush(stdin); - printf("enter the day:\n"); - gets(first[i].day); - fflush(stdin); - printf("enter the date:\n"); - gets(first[i].date); - fflush(stdin); - } - for (i = 0; i < n; i++) - { - printf("** FOR ENTRY NO. %d** \n ", i + 1); - printf("place : %s\n", first[i].name_place); - printf("amount spent : %f\n", first[i].amt_paid); - printf("day :%s\n", first[i].day); - printf("date :%s\n", first[i].date); - } - break; - case 2: - printf("to delete the last entry enter 1;"); - scanf("%d", &del_user); - del_comp = del_user - 1; - - for (int i = del_comp; i < n; i++) - { - first[i].name_place == first[i + 1].name_place; - first[i].day == first[i + 1].day; - first[i].date == first[i + 1].date; - } - n--; - printf("\n for seeing entries remaining after deletion press 1 and then 3"); - break; - - case 3: - printf("on deleting the entries are: \n"); - for (i = 0; i < n; i++) - { - printf("\n ^^^^^for entry %d^^^^^", i); - printf("place : %s\n", first[i].name_place); - printf("amount spent : %f\n", first[i].amt_paid); - printf("day :%s\n", first[i].day); - printf("date :%s\n", first[i].date); - } - break; - - - default: - printf("Wrong input choice"); - } - printf("\nEnter 1 to continue or 0 to end"); - scanf("%d", &cont); - } while (cont == 1); -} From 8716f79423790866316c1d2e01644364f89fccf6 Mon Sep 17 00:00:00 2001 From: aditi3004 <99550333+aditi3004@users.noreply.github.com> Date: Sun, 15 May 2022 14:05:54 +0530 Subject: [PATCH 11/16] Create README.md --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..32baa83 --- /dev/null +++ b/README.md @@ -0,0 +1,7 @@ +# Buffer_3.0 +Buffer 3.0 Repository to submit your projects +hey!! +we are team7-The Harpies: +Our project is based upon the idea of keeping tally of your expenditures. +we have added the code in the file named + and we have inserted the link of the project explanation video in the comment of the that particukar file. From e357611a7cbcf4eaf2e8583fbdcf77da79546c04 Mon Sep 17 00:00:00 2001 From: aditi3004 <99550333+aditi3004@users.noreply.github.com> Date: Sun, 15 May 2022 14:06:06 +0530 Subject: [PATCH 12/16] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 32baa83..282b341 100644 --- a/README.md +++ b/README.md @@ -4,4 +4,4 @@ hey!! we are team7-The Harpies: Our project is based upon the idea of keeping tally of your expenditures. we have added the code in the file named - and we have inserted the link of the project explanation video in the comment of the that particukar file. + and we have inserted the link of the project explanation video in the comment of the that particular file. From 19f3f6093511db0bb8c6500f20a2dc1602390f32 Mon Sep 17 00:00:00 2001 From: aditi3004 <99550333+aditi3004@users.noreply.github.com> Date: Sun, 15 May 2022 14:06:35 +0530 Subject: [PATCH 13/16] Update README.md --- README.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 282b341..20ccfa9 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,5 @@ -# Buffer_3.0 -Buffer 3.0 Repository to submit your projects -hey!! -we are team7-The Harpies: +Hey!! +We are team7-The Harpies: Our project is based upon the idea of keeping tally of your expenditures. we have added the code in the file named and we have inserted the link of the project explanation video in the comment of the that particular file. From ac82a4ccf5c48671452831d5984b520a6d48334b Mon Sep 17 00:00:00 2001 From: aditi3004 <99550333+aditi3004@users.noreply.github.com> Date: Sun, 15 May 2022 14:07:09 +0530 Subject: [PATCH 14/16] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 20ccfa9..7dd1d63 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ +BUFFER 3.0 + Hey!! We are team7-The Harpies: Our project is based upon the idea of keeping tally of your expenditures. From 8c21555ebc7f1b07d182f4e0fc345129717e427d Mon Sep 17 00:00:00 2001 From: Ananya9703 <99765869+Ananya9703@users.noreply.github.com> Date: Sun, 15 May 2022 14:10:00 +0530 Subject: [PATCH 15/16] Rename team7-EDoc to team7-TheHarpies --- team7-EDoc => team7-TheHarpies | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename team7-EDoc => team7-TheHarpies (100%) diff --git a/team7-EDoc b/team7-TheHarpies similarity index 100% rename from team7-EDoc rename to team7-TheHarpies From 2fe52bdf13d999c78ab621abd8a281179e9f87b6 Mon Sep 17 00:00:00 2001 From: aditi3004 <99550333+aditi3004@users.noreply.github.com> Date: Sun, 15 May 2022 14:12:05 +0530 Subject: [PATCH 16/16] Update README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 7dd1d63..6d861d3 100644 --- a/README.md +++ b/README.md @@ -4,4 +4,5 @@ Hey!! We are team7-The Harpies: Our project is based upon the idea of keeping tally of your expenditures. we have added the code in the file named - and we have inserted the link of the project explanation video in the comment of the that particular file. + an here is the link of the project explanation video: + https://drive.google.com/file/d/1PlJSCqNBHFL9168D6gKZVZsHfVCVezob/view