Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int main()
- {
- int oi,beleza = 1,tchau;
- while(oi < 8){
- printf("Oi chuchu, que numero voce gosta? \n");
- scanf("%i", &oi);
- beleza = beleza + oi;
- if(beleza >=10){
- printf("Falamos bastante, tchau chuchu! \n");
- return 0;
- }
- else {
- if(oi > 7){
- printf("Ok, ok, bye bye. ");
- }
- }
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment