Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int main()
- {
- int i = 0,max;
- float valor;
- printf("Entre com o valor maximo do leilao :\n");
- scanf("%d",&max);
- valor = 0.01;
- float vector[max*100];
- while (valor <= max)
- {
- vector[i] = valor;
- printf("%.2f\n",vector[i]);
- i++;
- valor = valor + 0.01;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment