Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- hi.c: In function ‘main’:
- hi.c:51:17: warning: statement with no effect [-Wunused-value]
- 51 | Course1Hours==4;
- | ~~~~~~~~~~~~^~~
- hi.c:53:17: warning: statement with no effect [-Wunused-value]
- 53 | Course1Hours==3;
- | ~~~~~~~~~~~~^~~
- hi.c:55:17: warning: statement with no effect [-Wunused-value]
- 55 | Course1Hours==1;
- | ~~~~~~~~~~~~^~~
- hi.c:57:17: warning: statement with no effect [-Wunused-value]
- 57 | Course1Hours==3;
- | ~~~~~~~~~~~~^~~
- hi.c:77:17: warning: statement with no effect [-Wunused-value]
- 77 | Course1Hours==4;
- | ~~~~~~~~~~~~^~~
- hi.c:79:17: warning: statement with no effect [-Wunused-value]
- 79 | Course1Hours==3;
- | ~~~~~~~~~~~~^~~
- hi.c:81:17: warning: statement with no effect [-Wunused-value]
- 81 | Course1Hours==1;
- | ~~~~~~~~~~~~^~~
- hi.c:83:17: warning: statement with no effect [-Wunused-value]
- 83 | Course1Hours==3;
- | ~~~~~~~~~~~~^~~
- hi.c:95:19: warning: statement with no effect [-Wunused-value]
- 95 | Course2Hours==4;
- | ~~~~~~~~~~~~^~~
- hi.c:97:19: warning: statement with no effect [-Wunused-value]
- 97 | Course2Hours==3;
- | ~~~~~~~~~~~~^~~
- hi.c:99:19: warning: statement with no effect [-Wunused-value]
- 99 | Course2Hours==1;
- | ~~~~~~~~~~~~^~~
- hi.c:101:19: warning: statement with no effect [-Wunused-value]
- 101 | Course2Hours==3;
- | ~~~~~~~~~~~~^~~
- hi.c:94:18: warning: statement will never be executed [-Wswitch-unreachable]
- 94 | if (Course2 == 4587)
- | ~~~~~~~~^~~~~~~
- hi.c:16:27: warning: ‘Course1Hours’ is used uninitialized in this function [-Wuninitialized]
- 16 | Payment1 = (Course1Hours * 120.25) ;
- | ~~~~~~~~~~~~~~^~~~~~~~~
- hi.c:17:27: warning: ‘Course2Hours’ is used uninitialized in this function [-Wuninitialized]
- 17 | Payment2 = (Course2Hours * 120.25) ;
- |
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement