diff --git a/Answers/40231712002/.idea/.gitignore b/Answers/40231712002/.idea/.gitignore
new file mode 100644
index 0000000..13566b8
--- /dev/null
+++ b/Answers/40231712002/.idea/.gitignore
@@ -0,0 +1,8 @@
+# Default ignored files
+/shelf/
+/workspace.xml
+# Editor-based HTTP Client requests
+/httpRequests/
+# Datasource local storage ignored files
+/dataSources/
+/dataSources.local.xml
diff --git a/Answers/40231712002/.idea/.name b/Answers/40231712002/.idea/.name
new file mode 100644
index 0000000..002da1d
--- /dev/null
+++ b/Answers/40231712002/.idea/.name
@@ -0,0 +1 @@
+Main.java
\ No newline at end of file
diff --git a/Answers/40231712002/.idea/40231712002.iml b/Answers/40231712002/.idea/40231712002.iml
new file mode 100644
index 0000000..b107a2d
--- /dev/null
+++ b/Answers/40231712002/.idea/40231712002.iml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Answers/40231712002/.idea/misc.xml b/Answers/40231712002/.idea/misc.xml
new file mode 100644
index 0000000..6f29fee
--- /dev/null
+++ b/Answers/40231712002/.idea/misc.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Answers/40231712002/.idea/modules.xml b/Answers/40231712002/.idea/modules.xml
new file mode 100644
index 0000000..3450e56
--- /dev/null
+++ b/Answers/40231712002/.idea/modules.xml
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Answers/40231712002/.idea/vcs.xml b/Answers/40231712002/.idea/vcs.xml
new file mode 100644
index 0000000..b2bdec2
--- /dev/null
+++ b/Answers/40231712002/.idea/vcs.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Answers/40231712002/Main.java b/Answers/40231712002/Main.java
new file mode 100644
index 0000000..1af4579
--- /dev/null
+++ b/Answers/40231712002/Main.java
@@ -0,0 +1,83 @@
+public class Main {
+ public static String fullname(String firstname, String lastname) {
+ String firstCharFirstname = firstname.substring(0, 1).toUpperCase();
+ String firstCharLastname = lastname.substring(0, 1).toUpperCase();
+ String otherfirstname = firstname.substring(1).toLowerCase();
+ String otherlastname = lastname.substring(1).toLowerCase();
+
+ return ("Name:" + firstCharFirstname + otherfirstname + firstCharLastname + otherlastname);
+
+ }
+ public static String phonenumber(String number)
+ {
+ if(number.length()==10)
+ {
+ return ("0"+number);
+ }
+ else
+ {
+ return ("Wrong entry.Try again.");
+ }
+ }
+ public static String id(String a)
+ {
+ return a;
+ }
+ public static String getlntereses(String A,String B,String C)
+ {
+ return A+B+C;
+ }
+ public static String userFullnformation(String a,String b,String c, String d)
+ {
+ return ( "Hello.My name is "+a+".My ID is "+b+".Here are some of my interests: "+c+" " +
+ "" + " You can reach me via my phone number "+d);
+ }
+ public static String informaionEncoder(String information,int shift)
+ {
+ String edcode ="";
+ int len = information.length();
+ for (int i = 0; i < len; i++)
+ {
+ if (information.charAt(i) == '.' || information.charAt(i) == ',' || information.charAt(i) == ' ')
+ {
+ edcode += (char) (information.charAt(i));
+ } else
+ {
+ char ch = (char) (information.charAt(i) + shift);
+ if (ch > 'z')
+ edcode += (char) (information.charAt(i) - (26 - shift));
+ else
+ edcode += (char) (information.charAt(i) + shift);
+ }
+ }
+ return edcode;
+ }
+ public static String informationDecoder(String information , int shift)
+ {
+ String decoder="";
+ int len = information.length();
+ for (int i = 0; i < len; i++)
+ {
+ if (information.charAt(i) == '.' || information.charAt(i) == ',' || information.charAt(i) == ' ')
+ decoder += (char) (information.charAt(i));
+ else
+ {
+ char ch=(char) (information.charAt(i)-shift);
+
+ if(ch>'z')
+ decoder+=(char)(information.charAt(i)-(26+shift));
+ else
+ decoder+=(char)(information.charAt(i)-shift);
+ }
+ }
+ return decoder;
+ }
+ public static void main(String[] args) {
+
+ System.out.println(fullname("kosar ", "mousavi"));
+ System.out.println(phonenumber("9114867186"));
+ System.out.println("id:"+id("40231712002"));
+ System.out.println(getlntereses("1.swimming,"," 2.cooking,"," 3.listening music"));
+ System.out.println(userFullnformation("Kosar Mousavi","40231712002","{1.swimming 2.cooking 3.listening music}","09114867186"));
+ }
+}
diff --git a/Answers/40231712002/out/production/40231712002/.idea/.gitignore b/Answers/40231712002/out/production/40231712002/.idea/.gitignore
new file mode 100644
index 0000000..13566b8
--- /dev/null
+++ b/Answers/40231712002/out/production/40231712002/.idea/.gitignore
@@ -0,0 +1,8 @@
+# Default ignored files
+/shelf/
+/workspace.xml
+# Editor-based HTTP Client requests
+/httpRequests/
+# Datasource local storage ignored files
+/dataSources/
+/dataSources.local.xml
diff --git a/Answers/40231712002/out/production/40231712002/.idea/.name b/Answers/40231712002/out/production/40231712002/.idea/.name
new file mode 100644
index 0000000..002da1d
--- /dev/null
+++ b/Answers/40231712002/out/production/40231712002/.idea/.name
@@ -0,0 +1 @@
+Main.java
\ No newline at end of file
diff --git a/Answers/40231712002/out/production/40231712002/.idea/40231712002.iml b/Answers/40231712002/out/production/40231712002/.idea/40231712002.iml
new file mode 100644
index 0000000..b107a2d
--- /dev/null
+++ b/Answers/40231712002/out/production/40231712002/.idea/40231712002.iml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Answers/40231712002/out/production/40231712002/.idea/misc.xml b/Answers/40231712002/out/production/40231712002/.idea/misc.xml
new file mode 100644
index 0000000..6f29fee
--- /dev/null
+++ b/Answers/40231712002/out/production/40231712002/.idea/misc.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Answers/40231712002/out/production/40231712002/.idea/modules.xml b/Answers/40231712002/out/production/40231712002/.idea/modules.xml
new file mode 100644
index 0000000..3450e56
--- /dev/null
+++ b/Answers/40231712002/out/production/40231712002/.idea/modules.xml
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Answers/40231712002/out/production/40231712002/.idea/vcs.xml b/Answers/40231712002/out/production/40231712002/.idea/vcs.xml
new file mode 100644
index 0000000..b2bdec2
--- /dev/null
+++ b/Answers/40231712002/out/production/40231712002/.idea/vcs.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Answers/40231712002/out/production/40231712002/Main.class b/Answers/40231712002/out/production/40231712002/Main.class
new file mode 100644
index 0000000..e843dee
Binary files /dev/null and b/Answers/40231712002/out/production/40231712002/Main.class differ