5
I need to make a program that multiplies the numbers informed by the user, and when it reports 0 (zero), the program shows the multiplication of the numbers typed. However, I am in doubt of how I will do this without zeroing in my multiplication.
else if(op==2){
printf("Foi escolhida a multiplicacao:\n\n");
do{
printf("Informe os valores desejados e 0 (zero) para concluir:");
scanf("%d", &valor);
mult= mult*valor;
result=mult;
}while(valor!=0);