All pastes #1186664 Raw Edit

Unnamed

public cpp v1 · immutable
#1186664 ·published 2008-08-27 19:29 UTC
rendered paste body
#include <iostream.h>using namespace std;int main(){  int a, b;  long int result = (a^2)+(b^2);    cout << "PythagoraZzZ" << endl;  cout << "------------" << endl;  cout << "What is the length of your first cathetus?" << endl;  cin >> a;  cout << "What is the length of your second cathetus?" << endl;  cin >> b;  cout << "The length of your hypotenuse is: " << result << endl;  cout << "Terminating program in 6 seconds, have a nice day!" << endl;  Sleep(6000);}