Question: I have this so far for my code (second picture) but would like to learn how to add more to it by doing the prompt

I have this so far for my code (second picture) but would like to learn how to add more to it by doing the prompt (first picture). Please help!
Using Visual Studio 2022 C++  I have this so far for my code (second picture) but
would like to learn how to add more to it by doing

The Mod operation can be used to keep a number within a certain range i.e. ((angle1 + angle2) %180=0 ) can check to see that the two angles are supplementary. Will your program allow for negative angles? Will your program allow for angles greater than 360 degrees i.e. Would angle1 @ 405 degrees and angle2 @ 135 degrees be supplementary? \#include iostream> using namespace std; int main() int angle1, angle2, sum; cout e "Enter the first angle: "; cin angle1; cout "Enter the supplamentary angle: "; cin sum = angle2; + angle2; if (angle2

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!