Q4.(20 points) Note: You do not have to write the entire program, just give the
ID: 3596395 • Letter: Q
Question
Q4.(20 points) Note: You do not have to write the entire program, just give the code segment in For the variables declare computer so the user can type the appropriate data. d below, write a statement using the object cin that will pause the a. char ch1, ch2; b. float temp1, temp2, temp3; i)Write appropriate if statement for each of the following conditions a. If an angle is equal to 90 degrees print the message "The angle is a right angle" otherwi print the message "The angle is not a right angle."Explanation / Answer
Please find my answer.
a) cin>>ch1>>ch2;
b) cin>>temp1>>temp2>>temp3;
c)
if(angle == 90) {
cout<<"The angle is right angle"<<endl;
}else{
cout<<"The angle is not right angle"<<endl;
}
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.