Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int a, // Первое число
- b, // Второе число
- Y; // Квадрат наименьшего числа
- ////////////////////////////////////////////////////
- int main() //
- {
- printf("a = "); scanf("%d", &a);
- printf("b = "); scanf("%d", &b);
- printf("- - - - - - - - - - - - -\n");
- if(a > b) Y = b * b;
- else Y = a * a;
- printf("Y = %d \n", Y);
- _asm { mov eax, b
- mov Y, eax
- }
- printf("Y = %2d \n", Y);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement