Posts by Pedro Sabença • 1 point
3 posts
-
-2
votes2
answers48
viewsQ: galley that part " if ((S%10=0) && (S<Vt))" is not going
#include<stdio.h> main() { char R[1]; int S, SQ, Nc, Vt; Nc=1000; Vt=10000; SQ=S/10; while(R!="N" || Nc>0) { printf("limite:%d",Vt); printf("\nDigite quanto deseja sacar:");…
casked Pedro Sabença 1 -
-4
votes2
answers132
viewsQ: I need the replay to stop when I type "F"
#include<stdio.h> main() { int O,i; float F,VI=0,VF=0; printf("Valor Inicial:"); scanf("%f",&VI); printf("Valor Final:"); scanf("%f",&VF); while (VI!=F) { if(VI<=VF) O=1; else O=-1;…
-
0
votes1
answer60
viewsQ: Problems with averages
I need to insert 3 notes, average with 3 notes, then with the highest note and the second highest note , then with the highest note and the worst note. #include<stdio.h> int meio(int a, int b,…
casked Pedro Sabença 1