Question: Consider the following program: 5698 7 #include using namespace std; //pas std:: por cou, cin, endl //declaration de variable entier int nbr; int main(

Consider the following program: 5698 7 #include using namespace std; //pas std::

Consider the following program: 5698 7 #include using namespace std; //pas std:: por cou, cin, endl //declaration de variable entier int nbr; int main( c_out < < "Entrez un nombre entier entre 1 et 18: "; cin >> nbr < < endl; while ((nbr < 1) | | (nbr>18)) cout < < "Entrez un nombre entier entre 1 et 18: "; cin >> nbr; 9 10 11 12 13 14 15 16 17 18 19 20 21 22 return 0 23 222H 4567890 } cout < < "Le rsultat est : " < < nbr < < x 10 = " < < < nbr 10 < < endl; cout < < "Le rsultat est : " < < nbr < < " x 11 = "

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

SOLUTION Here are the identified errors in the code along with corrections L... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!