Kodewick
Start learning →
Starter→0 / 3

Price tag

#001StarterOutput2 min

The little shop needs a price tag. Use printf to show Price: 25, the 25 coming from the variable price (don't write 25 itself).

Should show
Price: 25
main.c
#include <stdio.h>

int main(void) {
    int price = 25;
    // your code here: printf with %d to show Price: and price
    return 0;
}
Ctrl + Enter runs too
Result

Run tries the examples. When they look right, Submit.