- #include<iostream.h>
- #include<conio.h>
- void main()
- {
- int a,b;
- clrscr();
- cout<<"\n\nEnter the two no=:";
- cin>>a>>b;
- cout<<"\na"<<a<<"\nb"<<b;
- a=a+b;
- b=a-b;
- a=a-b;
- cout<<"\n\na="<<a<<"\nb="<<b;
- getch();
- }
Learn Easy way of calculating sin-cos-tan values.
0 comments: