Run Code  | Code Wall  | Users  | Misc  | Feedback  | About  | Login  | Theme  | Privacy 

Spring 2017 Project 2 v1.3

Language: Layout:
+ ] Compiler args - ] Show input
Compilation time: 0.12 sec, absolute running time: 0.14 sec, cpu time: 0 sec, memory peak: 3 Mb, absolute service time: 0,35 sec 
edit mode |  history  | discussion
Warning(s):
source_file.c: In function ‘main’:
source_file.c:104:1: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
 scanf("%d%d%d",&numOne,&numTwo,&numThree);
 ^
source_file.c:216:7: warning: ‘x’ may be used uninitialized in this function [-Wmaybe-uninitialized]
       switch(x){
       ^
Input 3 integers
-----------------
-100 is the minimum number
-2 is the maximum number
Positive Numbers:
Negative Numbers:
-2
-10
-100
Even Numbers:
-2
-10
-100
Odd Numbers:
Equal Numbers:
        
Ordered by Value
x=0
x=0
x=0
x=0
-2
-10
-100