July 2022 1 5 Report

Объясните цикл

 int n , x , k = 0;   cin >> n;     for (int i = 1; i <= n ; i++)   {     cin >> x;     if (x == 0)       k++;   }   cout << k;
Please enter comments
Please enter your name.
Please enter the correct email address.
You must agree before submitting.

Answers & Comments


Copyright © 2024 SCHOLAR.TIPS - All rights reserved.