Advertisement
alandmx40

melhorando desempenho

Oct 20th, 2016
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.23 KB | None | 0 0
  1. #include<stdio.h>
  2. int main()
  3. {
  4.     float a, b, c, d, e, f;
  5.     scanf("%f %f %f %f %f %f", &a, &b, &c, &d, &e, &f);
  6.     if(a<b && b<c && c<d && d<e && e<f){
  7.         printf("Ganha brinquedo");
  8.     }else{
  9.         printf("Sem brinquedo");
  10.     }
  11. return 0;  
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement