Question: i need the answer in c++ and its output Q)E.2 merher: - Declare a, b, &, theta, 4 as deuble - Declare ocher variables as
Q)E.2 merher: - Declare a, b, \&, theta, 4 as deuble - Declare ocher variables as accesary - Declare a constant PI as 3.14159 - Take input from user for a, b.c - Take input from ust for tacta (in deprec) - Cheek the inpua fiod the valhify - For example, if e is negative, then give output "Invalid inpui - Similarly chock for other inguts if they are valid or not * Compute the sevult of this equativa: d=a+ O(log,c) sini(theta* Phy 180) - Give the output of d - Give output of ocild) and fsocidy - Use buily-in library fenctine fruen C+ header files, Include -cmath - See the deserijuine of the smoth flancions in the texubowk to see what type of inpul they can taie and what type they cannot take - Sample sode givert - Sample cuiturit given - Run your program for the folluwing input and given sereert picture for each of theen
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
