Տրված ծրագրում ավելացրեք կոդի հատվածն այնպես, որ ցիկլի աշխատանքը դադարեցվի երբ
i==5
։#include <iostream> int main() { int i = 0; while (i < 10) { if (i == 5) { /* Put your code here */ } i++; } std::cout << i; }
i==5
։#include <iostream> int main() { int i = 0; while (i < 10) { if (i == 5) { /* Put your code here */ } i++; } std::cout << i; }