Advertisement
Josif_tepe

Untitled

Mar 13th, 2024
553
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.23 KB | None | 0 0
  1. #include <iostream>
  2. using namespace std;
  3.  
  4.  
  5. int main() {
  6.    
  7.     int n;
  8.     cin >> n;
  9.     int m;
  10.     cin >> m;
  11.     int edinica = n % 10;
  12.     int desetka = m / 10;
  13.    
  14.     int proizvod = edinica * desetka;
  15.     return 0;
  16. }
  17.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement