Answers for "htpps://www.codegrepper.com"

1

https://www.codegrepper.com

<html>
  </html>
Posted by: Guest on February-08-2021
0

https://www.codegrepper.com

int sum = 0; 
double product = 1; 
cout<<”Enter the amount”; 
cin>>count; 
while (sum < 20 || count >= 0) {
 sum = sum + count; 
 Count--; 
} 
for(count; count <= 9; count ++) {
 product = product * count;
}
cout << “the sum is:”<<sum; 
cout << “the product is:”<<product;
Posted by: Guest on February-16-2022

Browse Popular Code Answers by Language