diff --git a/.github/.vs/.github/v15/.suo b/.github/.vs/.github/v15/.suo new file mode 100644 index 00000000..da9089a5 Binary files /dev/null and b/.github/.vs/.github/v15/.suo differ diff --git a/.github/.vs/VSWorkspaceState.json b/.github/.vs/VSWorkspaceState.json new file mode 100644 index 00000000..6b611411 --- /dev/null +++ b/.github/.vs/VSWorkspaceState.json @@ -0,0 +1,6 @@ +{ + "ExpandedNodes": [ + "" + ], + "PreviewInSolutionExplorer": false +} \ No newline at end of file diff --git a/.github/.vs/slnx.sqlite b/.github/.vs/slnx.sqlite new file mode 100644 index 00000000..31217576 Binary files /dev/null and b/.github/.vs/slnx.sqlite differ diff --git a/Utilities b/Utilities new file mode 160000 index 00000000..d1dc3188 --- /dev/null +++ b/Utilities @@ -0,0 +1 @@ +Subproject commit d1dc318829bced35beb8a5b149eb3d9103251b56 diff --git a/lib/c/NaishaFatima21negativeorpositive.c b/lib/c/NaishaFatima21negativeorpositive.c new file mode 100644 index 00000000..3f795c27 --- /dev/null +++ b/lib/c/NaishaFatima21negativeorpositive.c @@ -0,0 +1,12 @@ +#include + +int main() { + int number = -2; + + if (number >= 0) + printf("%d is positive\n", number); + else + printf("%d is negative\n", number); + + return 0; +} \ No newline at end of file diff --git a/lib/java/NaishaFatima21.addtwonumbers.java b/lib/java/NaishaFatima21.addtwonumbers.java new file mode 100644 index 00000000..62cadf88 --- /dev/null +++ b/lib/java/NaishaFatima21.addtwonumbers.java @@ -0,0 +1,13 @@ +public class NumberAddition{ + public static void main(String[] args){ + int value_1, value_2, my_sum; + value_1 = 10; + value_2 = 15; + System.out.printf("The two numbers are %d and %d",value_1, value_2 ); + System.out.printf(""); + my_sum = value_1 + value_2; + System.out.println("The numbers have been added using '+' operator"); + System.out.println("Sum of the two numbers is : "); + System.out.println(my_sum); + } + } \ No newline at end of file diff --git a/lib/java/NaishaFatima21.timer.java b/lib/java/NaishaFatima21.timer.java new file mode 100644 index 00000000..e69de29b diff --git a/lib/python/NaishaFatima21.tipcalculator.py b/lib/python/NaishaFatima21.tipcalculator.py new file mode 100644 index 00000000..e69de29b diff --git a/lib/python/NaishaFatima21.tipcalculator1.py b/lib/python/NaishaFatima21.tipcalculator1.py new file mode 100644 index 00000000..81085c1a --- /dev/null +++ b/lib/python/NaishaFatima21.tipcalculator1.py @@ -0,0 +1,17 @@ +print("Welcome to the tip calculator!") +bill = float(input("What was the total bill? $")) + +tip = int(input("How much tip would you like to give? 10, 12, or 15? ")) + +num_of_split = int(input("How many people to split the bill? ")) + +calculate_bill = bill * (1 + (tip/100)) / num_of_split + +final_amount = "{:.2f}".format(calculate_bill, 2) + +if tip == 10: + print(f"Each person should pay: ${final_amount}") +elif tip == 12: + print(f"Each person should pay: ${final_amount}") +else: + print(f"Each person should pay: ${final_amount}") \ No newline at end of file diff --git a/yourCard/data.json b/yourCard/data.json index f3a5cbbe..087850f3 100644 --- a/yourCard/data.json +++ b/yourCard/data.json @@ -168,5 +168,16 @@ "nameOnHover": "Abdullah" } ] + }, + { + "username": "Naisha Fatima", + "avatar": "https://www.google.co.in/url?sa=i&url=https%3A%2F%2Funsplash.com%2Fimages%2Fnature%2Fmountain&psig=AOvVaw010i7xMNZZGdmkZic0mzfo&ust=1666951197024000&source=images&cd=vfe&ved=0CAoQjRxqFwoTCIjQuKKTgPsCFQAAAAAdAAAAABADgit", + "socialMedia": [ + { + "link": "https://github.com/NaishaFatima21", + "nameOnHover": "Naisha Fatima" + } + ] } ] + \ No newline at end of file