0
I really need help with a really simple coding.
The question is: The sine of an angle can be comouted from the following infinite series (given an equation). The equation to find sine and factorial is as follows: (given an equation). I’m asked to write a program that the user can enter an angle in degree, convert the angle to rad and display the sine of the angle (given a formula to convert from deg to rad)
6 Antworten
+ 3
Thing is: Assignments like these don't come out of nowhere.
Did your teacher give you this?
Then he/she probably gave you lessons and study material before. Teachers usually don't force you to do stuff that you can't solve with a little bit of effort and a little google legwork.
Studying our tutorials here will definitely give you what you need.
+ 2
Your attempts ?
+ 1
First start the C++ course here, at least the basics (data types, functions...)
+ 1
Arisya no, first you define functions fact and sine of x, then in the main function you call them and put the input as parameter. You put the formulas inside the functions themselves.
0
The thing is I don’t even know how to start! I tried google, read from my lecture slide. But I still don’t have any idea how to start 😭😭😭
0
The question asks to find sine x and factorial so do i have to put the formula and equation into the input?