Added book examples
This commit is contained in:
4
C4/difficult_to_read_code.c
Normal file
4
C4/difficult_to_read_code.c
Normal file
@@ -0,0 +1,4 @@
|
||||
#include <stdio.h>
|
||||
int main(void) { int revenue = 80; int cost = 50; int roi;
|
||||
roi = (100 * (revenue - cost)) / cost; if (roi >= 0) {
|
||||
printf ("%d\n", roi); } return 0; }
|
||||
Reference in New Issue
Block a user