Problem1546--C Programming Practicals 3 logical if else-6

1546: C Programming Practicals 3 logical if else-6

Time Limit: 1 Sec  Memory Limit: 128 MB
Submit: 1117  Solved: 218
[Submit] [Status] [Web Board] [Creator:]

Description

Ask user to enter two angles x and y in radians, then show the z value (Keep 5 digits after the decimal point). z=〖ln〗^x+〖log〗_10^y,when x>y>0 z=sin⁡(x)+cos⁡(y),when x<=y x is greater than y, but at least one of values <=0, otherwise

Input

Input the first angle of x and y

Output

For example, z=sin(45)+cos(45)=1.37623 or z=log(60)+log10(30)=5.57147 or x is greater than y, but at least one of values <=0

Sample Input Copy

45
-45

Sample Output Copy

x is greater than y, but at least one of values <=0

Source/Category

115