Tongue C | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Tongue C

the correct solution is in the C compiler in a separate application: #include <stdio.h> int main() { int price = 12; printf("price:$%d", price); returns 0; } As a result, I get: Price: $12 And here, on sololearn, it is still written that I did not write the code correctly, who faced this

1st Apr 2024, 6:52 PM
Иван Нуриев
Иван Нуриев - avatar
2 Answers
+ 3
The bug is returns. It's return 0; and not returns 0;
1st Apr 2024, 7:12 PM
Jan
Jan - avatar
0
Thenk coped 👍
1st Apr 2024, 7:20 PM
Иван Нуриев
Иван Нуриев - avatar