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

Multiple If statements v1

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:24:5: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
     scanf("%d",&age);
     ^
What is your age?
newprice1=85.000000
newprice2=90.000000
newprice3=95.000000
Your price is $85.000000