#include int main() { struct cerchio c1, c2; float distanza; char k; //input del centro del primo cerchio printf(\"Enter the co
use
scanf(" %c",&k);
Instead of
scanf("%s", &k); // %s is used for strings, Use %c for character variable.
for char variable use " %c". and don't forget to keep space before %c " %c" , it will skips newline and whitespace characters.
" %c"