int multiply ()
{
int digit, mul = 1;
for (int i = 0; i < 7; i++)
cout << "Digit: ";
cin >> digit;
mul *= digit;
}
return mul;
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
int multiply ()
{
int digit, mul = 1;
for (int i = 0; i < 7; i++)
{
cout << "Digit: ";
cin >> digit;
mul *= digit;
}
return mul;
}