1
General discussion / Re: 5 million GMail accounts' password leaked
« on: September 12, 2014, 01:39:54 am »
Post the link for the pw's?
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
That was hardcore point right there. I applaud you, sir.
Use strcmpi() for checks on the type of mathematic operation to use. It's not case sensitive.I don't need help w/ that. My problem is when it asks the user "What mathmatical operation would you like to do?" basically, no matter what I type is says "What is the first number in your addition sequence?".
#include <iostream>
#include <string>
using namespace std;
int main ()
{
float a;
float b;
float result;
string asd1;
cout << "What mathmatical operation would you like to do?";
cin >> asd1;
if (asd1=="addition", "Addition")
{
cout << "What is the first number in your addition sequence? ";
cin >> a;
cout << "What is the second number in your addition sequence? ";
cin >> b;
result = a+b;
cout << "The answer is: " << result << ".\n";
}
else if (asd1=="division", "Division")
{
cout << "What is the first number in this division equation? ";
cin >> a;
cout << "What is the second number in this division equation? ";
cin >> b;
result = a/b;
cout << "The answer is " << result << ".\n";
}
else if (asd1=="subtraction", "Subtraction")
{
cout << "What is the first number in the subtraction equation?";
cin >> a;
cout << "What is the second number?";
cin >> b;
result=a-b;
cout << "The answer is: " << result << ".\n";
}
else if (asd1 == "multiplication", "Multiplication")
{
cout << "What is the first number in your multiplication equation?";
cin >> a;
cout << "What is the second number?";
cin >> b;
result=a*b;
cout << "The answer is " << result << ".\n";
}
return 0;
}
Has anyone noticed the website is some kinda of racialist shit website for white people. I don't know it just caught my attention
I have no idea what language I should use. I could make HTML page and then use PHP code to ecnode / decode. Same with javascript. Or maybe in C, or maybe in Visual Basic.