Bool solution ;
Int number 2= 10
Number 7 = 25
Number 9 = 16
Solution = number 2>= 7 & & number 2>number9
#include <iostream>
using namespace std;
int main()
{
int number2=10;
int number7=25;
int number9=16;
bool solution;
solution = number2>= 7 && number2>number9;
cout<<"\nSolution: "<<solution;
return 0;
}
Comments
Leave a comment