Guest User

Untitled

a guest
Jan 21st, 2019
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. program Phisika
  2. uses Crt, graph;
  3. var V: real, t: real, x:real, y:real;
  4. begin
  5. clrscr;
  6.  
  7. driver:=detect;
  8. initgraph(driver,mode,'');
  9.  
  10. writeln('enter V and T');
  11. readln(V, t);
  12.  
  13. x := y := V * t;
  14.  
  15. setcolor(15);
  16. setbkcolor(0);
  17.  
  18. moveto(0,0);
  19. lineto(x,y);
  20.  
  21. end.
Add Comment
Please, Sign In to add comment