Антон07072003
1) #include <iostream> using namespace std; int main() { int l; cin >> l; cout << l / 100; return 0; } 2) #include <iostream> using namespace std; int main() { int m; cin >> m; cout << m / 1000; return 0; } 3) #include <iostream> using namespace std; int main() { int n; cin >> n; cout << n / 10<<' '<<n%10; return 0; }
0 votes Thanks 0
adik61
#include <iostream> using namespace std; int main() { double l,a; cin>>l; a = l / 100; cout<<a; return 0; }
#include <iostream> using namespace std; int main() { double M,a; cin>>M; a = M / 1000; cout<<a; return 0; }
#include <iostream> using namespace std; int main() { int n,a,b; cin>>n; a = n / 10; b= n % 10; cout<<a<<" "<<b; return 0; }
Answers & Comments
#include <iostream>
using namespace std;
int main()
{
int l;
cin >> l;
cout << l / 100;
return 0;
}
2)
#include <iostream>
using namespace std;
int main()
{
int m;
cin >> m;
cout << m / 1000;
return 0;
}
3)
#include <iostream>
using namespace std;
int main()
{
int n;
cin >> n;
cout << n / 10<<' '<<n%10;
return 0;
}
using namespace std;
int main()
{
double l,a;
cin>>l;
a = l / 100;
cout<<a;
return 0;
}
#include <iostream>
using namespace std;
int main()
{
double M,a;
cin>>M;
a = M / 1000;
cout<<a;
return 0;
}
#include <iostream>
using namespace std;
int main()
{
int n,a,b;
cin>>n;
a = n / 10;
b= n % 10;
cout<<a<<" "<<b;
return 0;
}