Generation

generate functionWed, 22 Mar 2023

Realizar un programa que resuelva las siguientes ecuaciones e imprima el valor de c y de f. Se sabe que el valor de x=6 y de y=3 • ax+by=c • dx+ey=f

#include <stdio.h> #include <stdlib.h> #include <math.h> int main() { int a=2, b=3, c, d=1, e=2, f; float x=6, y=3; c=(a*x)+(b*y); f=(d*x)+(e*y); printf("c=%d\t f=%d\n", c, f); return 0; }

Want to kickstart your project?Use the new AI Studio to create your code