Posts by OttSan • 3 points
2 posts
-
-1
votes1
answer29
viewsQ: Output in percentage by taking into account user inputs
The program asks the sex of the user, then I asked for the opinion about a certain product( yes or no). As a way out, he should give me the total of people who gave yes and no, then the percentage…
-
-2
votes1
answer26
viewsQ: The program just gives me back the list again, without me being able to enter the values, what am I doing wrong?
#include <stdio.h> main() { float saldo, valor; int opc; printf("Entre com o saldo inicial da conta: "); scanf("%f", &saldo); while (opc != 4) { printf("\nBem vindo ao banco.\n");…