#include <iostream>
int main()
{
int n;
float l;
std::cin >> n >> l;
switch (n)
case 1:
std::cout << "Length: " << l / 10;
break;
case 2:
std::cout << "Length: " << l * 1000;
case 3:
std::cout << "Length: " << l;
case 4:
std::cout << "Length: " << l / 1000;
case 5:
std::cout << "Length: " << l / 100;
default:
}
std::cout << std::endl;
system("pause");
return 0;
#include <iostream>
int main()
{
int n;
float l;
std::cin >> n >> l;
switch (n)
{
case 1:
std::cout << "Length: " << l / 10;
break;
case 2:
std::cout << "Length: " << l * 1000;
break;
case 3:
std::cout << "Length: " << l;
break;
case 4:
std::cout << "Length: " << l / 1000;
break;
case 5:
std::cout << "Length: " << l / 100;
break;
default:
break;
}
std::cout << std::endl;
system("pause");
return 0;
}