Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int main()
- {
- int i;
- float vector[20];
- for (i = 0; i < 20; i++)
- {
- printf("Entre com um valor :\n");
- scanf("%f",&vector[i]);
- }
- for (i = 19; i >= 0; i--)
- {
- printf("%.3f\n",vector[i]);
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment