From bb2116ff4711eee4b7a5f35645f2ad54627ae88f Mon Sep 17 00:00:00 2001 From: Samip Aryal <84836995+samiparyal@users.noreply.github.com> Date: Mon, 25 Oct 2021 20:21:03 +0545 Subject: [PATCH 1/2] C++ program to find wifi password --- C++/See wifi pass.cpp | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 C++/See wifi pass.cpp diff --git a/C++/See wifi pass.cpp b/C++/See wifi pass.cpp new file mode 100644 index 0000000..7eda185 --- /dev/null +++ b/C++/See wifi pass.cpp @@ -0,0 +1,17 @@ +#include +#include +using namespace std; +string x; +int y; +int main() +{ +system("color e"); +cout<< ("\nsamz>\t"); +system("netsh wlan show profile"); +cout << ("WHICH ONE?--"); +string z = "netsh wlan show profile\t \""; +string n = "\"\tkey=clear"; +cin >> x; +z = z + x + n; +system(z.c_str()); +} From ebcf1796982e1caf0e9b778ddca917af42c2acbe Mon Sep 17 00:00:00 2001 From: Samip Aryal <84836995+samiparyal@users.noreply.github.com> Date: Mon, 25 Oct 2021 20:25:28 +0545 Subject: [PATCH 2/2] Maths Calculator (Request Auto Detect) --- C/samzmaths.c | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 C/samzmaths.c diff --git a/C/samzmaths.c b/C/samzmaths.c new file mode 100644 index 0000000..6ad4ca0 --- /dev/null +++ b/C/samzmaths.c @@ -0,0 +1,51 @@ +#include +#include + +int main() +{ + + system("color 4"); + printf("\nSamz math>\t"); + + + float a,d,p=1,i; + char operator; + + scanf("%f", &a); + scanf("%c", &operator); + scanf("%f", &d); + + for(i=1;i<=d;i++) + p=p*a; + + switch(operator) + { + + case '+': + printf("=%.2f\n\n", a+d); + break; + + case '-': + printf("=%.2f\n\n", a-d); + break; + + case '*': + printf("=%.2f\n\n", a*d); + break; + + case '/': + printf("=%.2f\n\n", a/d); + break; + + case '^': + printf("=%.2f\n\n", p); + break; + + + } + + + main(); + getch(); + +}