Hello, OnlineGDB Q&A section lets you put your programming query to fellow community users. Asking a solution for whole assignment is strictly not allowed. You may ask for help where you are stuck. Try to add as much information as possible so that fellow users can know about your problem statement easily.

CÓMO HACER UN PROGRAMA DE LA FÓRMULA GENERAL?

+4 votes
asked Mar 15, 2022 by Cósima Minerva Gómez Rodrigo (160 points)
Solo puedo usar esto

//REALIZA UN PROGRAMA QUE CALCULE LA FÓRMULA GENERAL

#include<stdio.h>

#include<stdlib.h>

#include<math.h>

float a,b,c,x1,x2

 int op;

 int main(){

  do{

   system("cls");

      sistema("color 5c");

        printf(" 1.-calcula una operacion con la formula general\n");

        printf(" 2.- salir\n");

      escaneo("%i",&op);

printf("Escriba la primera variable\n ");

      escaneo("%f",&a);

      printf("Escribe la segunda variable\n ");

      escaneo("%f",&b);

      imprimirf("

y tiene que se con la función swtich, case, while, do

CÓMO LO CONTINÚO?

1 Answer

0 votes
answered Mar 15, 2022 by Peter Minarik (86,200 points)
Why are your standard C function names "translated" to Spanish?

Not taking the effort to communicate in the language of the forums is one thing. Obfuscating your code (that doesn't even compile in this stage anymore) is completely different.

It's hard enough to figure out what you are after if one doesn't speak Spanish (and Google Translate doesn't do a great job, or maybe your question doesn't make much sense in Spanish either).

I'd suggest learning English (I'm not a native English speaker either) and posting proper, working code or finding a Spanish forum for your question.
Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and and receive answers from other members of the community.
...