please i wanna write a programme console application using borland turbo c++
that ask users for an angle entered in radians,the programme should then display the sine,cos and tan library functions to determaine these values.)the output should be displayed in fixed points notation,rounded up to four decimal notation.
please any help.
i am really new to C++,but i know i use boreland turbo C++
i know the followings writing code for console application
bases on my understanding,you start like these:
#include <iostream>
using namespace std;
int main()
{
//include your headers
#include <iostream>//lets you output to the console
#include <cmath>//provides basic math functions
//this function is where the program starts
int main(){
double in;//double precision number (lets you use 3.14)
cin>>in;//cin is defined in iostream
//the >> operator is overloaded to input data from the console
cout<<"Example";//cout outputs stuff to the console
// anything surrounded with quotes is what's called a string
return 0;}//return in main() ends the program
//in any other function, it returns control to the function
//that called it