Answer:
a)
#include <iostream>
using namespace std;
int main() {
bool a,b,c;
cin>>a>>b;
if(a^b)//X-OR operator in C++.
c=true;
else
c=false;
cout<<c;
return 0;
}
b)
#include <iostream>
using namespace std;
int main() {
bool a,b,c,d;
cin>>a>>b>>c;
if((a^b)^c)//X-OR operator in C++.
d=true;
else
d=false;
cout<<d;
return 0;
}
Explanation:
The above written programs are in C++.There is an operator (^) called X-OR operator in C++.It returns true if the number of 1's are odd and returns false if the number of 1's are even.
In the if statement I have user X-OR operator(^) to find the result and storing the result in another boolean variable in both the questions.
Answer: los niños requieren un promedio de 2.800 calorías por día, las niñas requieren un promedio de 2.200 calorías por día.
Explanation:
In technicality, humans can work healthily 14-15 hours a day, 365 days a year. I subtracted the hours of the day needed for sleep and feeding.
Answer:
Maria can ensure that the video is recording correctly by checking the _____. 1. See answer.
C) monochromatic
Hope this helps!
btw make me brainliest?