63 213
Assignments Done
99,3%
Successfully Done
In July 2018

Answer to Question #26035 in C++ for Bommbastic

Question #26035
Create a program to perform a rotation and translation of a coordinate system. There are two
modes. When I press ‘1’, it should switch to mode 1, if I press ‘2’ it should switch to mode 2. Text on the
screen would be beneficial to tell the user which mode they are currently i
Expert's answer
# include <iostream>
# include<iomanip>


using namespace std;


int main(){
setlocale( LC_ALL,"English" );
int a;
cout<<"Enter choice:";
cin>>a;
switch (a){
case 1: cout<<"choice 1
"; break;
case 2: cout<<"choice 2
"; break;
}
system("PAUSE");
return 0;
}

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be first!

Leave a comment

Ask Your question

Submit
Privacy policy Terms and Conditions