fork download
  1. #include<stdio.h>
  2. #include<stdlib.h>
  3. #include<float.h>
  4.  
  5. int main()
  6. {
  7.  
  8. int a = 5, b;
  9. float c = 5, d;
  10.  
  11. printf("Введите значение b");
  12. scanf("%d", &b);
  13.  
  14. printf("Введите значение d");
  15. scanf("%2.f", &d);
  16.  
  17. a = a * b - 4;
  18. printf("a = a * b - 4 : a =%d, b =%d, c =%2.f, d =$2.f", a, b, c, d);
  19.  
  20.  
  21. system("pause");
  22. return 0;
  23. }
Success #stdin #stdout #stderr 0s 4432KB
stdin
Standard input is empty
stdout
Введите значение bВведите значение da = a * b - 4 : a =1318642972, b =-595264864, c = 5, d =$2.f
stderr
sh: 1: pause: not found