From 62af408f8eff9853d24dc68e84ce26fc97eec800 Mon Sep 17 00:00:00 2001
From: ShwetaBagade <138897870+ShwetaBagade@users.noreply.github.com>
Date: Tue, 30 Apr 2024 21:45:55 +0530
Subject: [PATCH 1/4] Create README.md
---
bufferproject/README.md | 1 +
1 file changed, 1 insertion(+)
create mode 100644 bufferproject/README.md
diff --git a/bufferproject/README.md b/bufferproject/README.md
new file mode 100644
index 0000000..8b13789
--- /dev/null
+++ b/bufferproject/README.md
@@ -0,0 +1 @@
+
From fd46bd9fdf1f6925a52162d938d00148909c48c5 Mon Sep 17 00:00:00 2001
From: ShwetaBagade <138897870+ShwetaBagade@users.noreply.github.com>
Date: Tue, 30 Apr 2024 21:48:28 +0530
Subject: [PATCH 2/4] Add files via upload
---
bufferproject/Main.java | 279 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 279 insertions(+)
create mode 100644 bufferproject/Main.java
diff --git a/bufferproject/Main.java b/bufferproject/Main.java
new file mode 100644
index 0000000..146115c
--- /dev/null
+++ b/bufferproject/Main.java
@@ -0,0 +1,279 @@
+package buffer;
+import java.util.*;
+
+class info{
+ String name;
+ int age;
+ String gender;
+ String mail;
+}
+
+class Buffer{
+ Scanner sc=new Scanner(System.in);
+ info Buffer[]=new info[10];
+ void accept() {
+ Buffer[0]=new info();
+ System.out.println("Enter name of customer");
+ Buffer[0].name=sc.next();
+ System.out.println("Enter age of customer");
+ Buffer[0].age=sc.nextInt();
+ System.out.println("Enter the gender of customer");
+ Buffer[0].gender=sc.next();
+ System.out.println("Enter the mail of customer");
+ Buffer[0].mail=sc.next();
+ }
+}
+
+class Option {
+ char text;
+ Node nextNode;
+
+ public Option(char text, Node nextNode) {
+ this.text = text;
+ this.nextNode = nextNode;
+ }
+}
+
+class Node {
+ String question;
+ List