[ create a new paste ] login | about

Link: http://codepad.org/u2LzWSSB    [ raw code | output | fork ]

C++, pasted on Oct 21:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include <iostream.h> 
#include <stdio.h> 
#include <math.h> 
#include <conio.h> 
const double a=-7.2,b=3.4; 
void main () 
{ 
float x, y, z, q, t; 
clrscr(); 
cout« "2\nx="; 
cin»x; 
cout« "2\ny="; 
cin»y; 
t=(pow(sin(a/b),3/2))+(pow(cos(|2.7*a*b|),1/2)); 
q=arctg(exp(-a*x)+lg(pow(|x/y|,1/7))); 
z=t/q; 
cout«"\nz="«z 
}


Output:
1
2
3
Line 19: error: conio.h: No such file or directory
Line 10: error: stray '\302' in program
compilation terminated due to -Wfatal-errors.


Create a new paste based on this one


Comments: