Advertisement
immuntasir

Untitled

May 5th, 2015
331
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. #include <stdio.h>
  2.  
  3. int main() {
  4. int number;
  5. printf("A number please?\n");
  6. scanf("%d", &number);
  7. if (number > 0) {
  8. printf("Your input is a positive integer!\n");
  9. }
  10. return 0;
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement