#include int main() { printf(\"how old are you? \"); int age = 0; scanf(\"%d\", age); printf(\"how much does your daily habit co
The scanf function expects a pointer.
scanf("%d", &age);
Ditto for the line where you scanf on "daily".