Lab01 - Pedro Sampaio

Run Settings
LanguageC
Language Version
Run Command
#include <stdio.h> int main(void) { float d, a, b, c, x1, x2; a = 4; b = 7; c = -15; d = (b*b)-(4*a*c); x1 = ((-b) + (sqrt(d)))/(2*a); x2 = ((-b) - (sqrt(d)))/(2*a); printf("x1 = %.2f\n", x1); printf("x2 = %.2f\n", x2); return 0; }
Editor Settings
Theme
Key bindings
Full width
Lines