daily pastebin goal
3%
SHARE
TWEET

Untitled

a guest May 16th, 2018 94 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <stdio.h>
  2. int main()
  3. {
  4.     double a,b,c=0;
  5.     for(a=1;a<=6;a++)
  6.     {
  7.         scanf("%lf",&b);
  8.         if(b>0) c++;
  9.     }
  10.     printf("%.0lf valores positivos\n",c);
  11.     return 0;
  12. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top