struct

Run Settings
LanguageC
Language Version
Run Command
#include <stdio.h> #include <math.h> struct pto { float x,y; }; typedef struct pto ponto; int main (){ ponto a,b; ax = 10; ay = 20; bx = 30; by = 40; float dist = 0; dist = pow ((ax - bx),2) + pow ((ay - by),2); dist = sqrt (dist); }
Editor Settings
Theme
Key bindings
Full width
Lines