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
1
Expert's answer
2013-03-13T09:39:05-0400
# 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 the first!

Leave a comment

LATEST TUTORIALS
APPROVED BY CLIENTS