Answer:
A AND B= 1 or 0
1 1 1
0 1 0
1 0 0
0 0 0
So, as explained above if both are 1 we then only get 1, or else we get 0 always in case of AND which is a logical operator, whose output can be 0 or 1 only. This is being depicted above.
Explanation:
If both are 1 we get 1 or always else, we get the output =0.
Maybe it could be the website or the email it self
<span />
Answer:
#include <iostream>
#include <cstdlib>
using namespace std;
char grade(double marks){
if(marks>=90)
{
return 'A';
}
else if (marks >=80 && marks<90)
{
return 'B';
}
else if (marks >=70 && marks<80)
{
return 'C';
}
else if (marks >=60 && marks<70)
{
return 'D';
}
else if ( marks<60)
{
return 'F';
}
}
int main()
{
double marks;
cout <<"Ener marks";
cin >>marks;
char grd=grade(marks);
cout<<"Grae is "<<grd;
return 0;
}
Explanation:
Take input from user for grades in double type variable. Write function grade that takes a parameter of type double as input. Inside grade function write if statements defining ranges for the grades. Which if statement s true for given marks it returns grade value.
In main declare a variable grd and store function returned value in it.
Answer:
Form the given statement i have come to know that the by changing hidden form values attacker has been able to modify the purchase price.
Explanation:
User can change a hidden field is not different from a common field from browser or server side.
If you want to store data then user must have to store them on server -side on a session and it is a fastest way.
Well, integrity is a must if you are reading anything. So it would be any website that has either a .edu or a .gov at the end of a URL.
I never suggest Wikipedia for brief, since 100's of people will edit one topic at a time, the answer to what he is looking for is buried in 18 pages about one settler in the United States!