This repository has been archived on 2023-10-26. You can view files and clone it, but cannot push or open issues or pull requests.
VSMechatronics/C4/difficult_to_read_code.c

4 lines
170 B
C
Raw Normal View History

2022-04-08 15:12:38 +00:00
#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; }