0
Do you know what this code does and what it is for? Or something that is wrong?
#include <stdio.h> void main(){ float R,sol1; printf("Bienvenido, calcularemos la longitud de su circunferencia.\n\n"); printf("Lo unico que debe hacer es introducir el radio: "); scanf("%f",&R); sol1=2*3.141592*R; printf("\n\nEl resultado es %f\n\n",sol1); } https://code.sololearn.com/WE0DpJ20HbEZ/?ref=app
2 Respostas
+ 2
I do not understand the language in texts, but this is calculating the area of a circle given the radius (input).
And for the error, it is just a warning from the compiler because you are using "void" instead of "int" in main().
Hope this helps and please use relevant tags such as "C" etc. and just post only codes or links that are relevant to your question.
Thanks!
+ 3
LUISA DANAE HERNANDEZ JAIMES ask your question clearly and also you mentioned other person web code why it is..?? It doesn't make sense.