Untitled
unknown
plain_text
2 years ago
246 B
5
Indexable
#include <stdio.h> int main() { int produto = 1; int v = 1; while (v != 0) { scanf("%d", &v); if (v == 0){ break; produto = produto * v; } } printf("%d\n", produto); return 0; }
Editor is loading...
Leave a Comment