Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int main()
- {
- float ze = 1.1, chico = 1.5;
- int years = 0;
- while(ze < chico)
- {
- ze = ze + 0.03;
- chico = chico + 0.02;
- years++;
- }
- printf("%d anos!\n",years);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment