Language: C++



#include<cstdio>
#include<math.h>

#define PI 3.141592
int main(){
	int a,b,C;//a,b?????????C????§????

	
	scanf("%d %d %d", a , b , C);
	

	double S = a * b * sin(C / 180 * PI)/2.0; //sin(????????¢?????????)
	double L = sqrt(a*a + b*b - 2*a*b*cos(C / 180 * PI)) + a + b;
	double h = S * 2/a; //??¢????????????a * ??????h/2??????
	
 
  ??????  printf("%.4f\n", S);
?????????  printf("%.4f\n", L);
  ??????  printf("%.4f\n", h);
	
	return 0;
}
	

Compiler output:
a.cc: In function 'int main()':
a.cc:19:3: error: expected primary-expression before '?' token
   19 |   ??????  printf("%.4f\n", S);
      |   ^
a.cc:19:4: error: expected primary-expression before '?' token
   19 |   ??????  printf("%.4f\n", S);
      |    ^
a.cc:19:5: error: expected primary-expression before '?' token
   19 |   ??????  printf("%.4f\n", S);
      |     ^
a.cc:19:6: error: expected primary-expression before '?' token
   19 |   ??????  printf("%.4f\n", S);
      |      ^
a.cc:19:7: error: expected primary-expression before '?' token
   19 |   ??????  printf("%.4f\n", S);
      |       ^
a.cc:19:8: error: expected primary-expression before '?' token
   19 |   ??????  printf("%.4f\n", S);
      |        ^
a.cc:19:30: error: expected ':' before ';' token
   19 |   ??????  printf("%.4f\n", S);
      |                              ^
      |                              :
a.cc:19:30: error: expected primary-expression before ';' token
a.cc:19:30: error: expected ':' before ';' token
   19 |   ??????  printf("%.4f\n", S);
      |                              ^
      |                              :
a.cc:19:30: error: expected primary-expression before ';' token
a.cc:19:30: error: expected ':' before ';' token
   19 |   ??????  printf("%.4f\n", S);
      |                              ^
      |                              :
a.cc:19:30: error: expected primary-expression before ';' token
a.cc:19:30: error: expected ':' before ';' token
   19 |   ??????  printf("%.4f\n", S);
      |                              ^
      |                              :
a.cc:19:30: error: expected primary-expression before ';' token
a.cc:19:30: error: expected ':' before ';' token
   19 |   ??????  printf("%.4f\n", S);
      |                              ^
      |                              :
a.cc:19:30: error: expected primary-expression before ';' token
a.cc:19:30: error: expected ':' before ';' token
   19 |   ??????  printf("%.4f\n", S);
      |                              ^
      |                              :
a.cc:19:30: error: expected primary-expression before ';' token
a.cc:20:1: error: expected primary-expression before '?' token
   20 | ?????????  printf("%.4f\n", L);
      | ^
a.cc:20:2: error: expected primary-expression before '?' token
   20 | ?????????  printf("%.4f\n", L);
      |  ^
a.cc:20:3: error: expected primary-expression before '?' token
   20 | ?????????  printf("%.4f\n", L);
      |   ^
a.cc:20:4: error: expected primary-expression before '?' token
   20 | ?????????  printf("%.4f\n", L);
      |    ^
a.cc:20:5: error: expected primary-expression before '?' token
   20 | ?????????  printf("%.4f\n", L);
      |     ^
a.cc:20:6: error: expected primary-expression before '?' token
   20 | ?????????  printf("%.4f\n", L);
      |      ^
a.cc:20:7: error: expected primary-expression before '?' token
   20 | ?????????  printf("%.4f\n", L);
      |       ^
a.cc:20:8: error: expected primary-expression before '?' token
   20 | ?????????  printf("%.4f\n", L);
      |        ^
a.cc:20:9: error: expected primary-expression before '?' token
   20 | ?????????  printf("%.4f\n", L);
      |         ^
a.cc:20:31: error: expected ':' before ';' token
   20 | ?????????  printf("%.4f\n", L);
      |                               ^
      |                               :
a.cc:20:31: error: expected primary-expression before ';' token
a.cc:20:31: error: expected ':' before ';' token
   20 | ?????????  printf("%.4f\n", L);
      |                               ^
      |                               :
a.cc:20:31: error: expected primary-expression before ';' token
a.cc:20:31: error: expected ':' before ';' token
   20 | ?????????  printf("%.4f\n", L);
      |                               ^
      |                               :
a.cc:20:31: error: expected primary-expression before ';' token
a.cc:20:31: error: expected ':' before ';' token
   20 | ?????????  printf("%.4f\n", L);
      |                               ^
      |                               :
a.cc:20:31: error: expected primary-expression before ';' token
a.cc:20:31: error: expected ':' before ';' token
   20 | ?????????  printf("%.4f\n", L);
      |                               ^
      |                               :
a.cc:20:31: error: expected primary-expression before ';' token
a.cc:20:31: error: expected ':' before ';' token
   20 | ?????????  printf("%.4f\n", L);
      |                               ^
      |                               :
a.cc:20:31: error: expected primary-expression before ';' token
a.cc:20:31: error: expected ':' before ';' token
   20 | ?????????  printf("%.4f\n", L);
      |                               ^
      |                               :
a.cc:20:31: error: expected primary-expression before ';' token
a.cc:20:31: error: expected ':' before ';' token
   20 | ?????????  printf("%.4f\n", L);
      |                               ^
      |                               :
a.cc:20:31: error: expected primary-expression before ';' token
a.cc:20:31: error: expected ':' before ';' token
   20 | ?????????  printf("%.4f\n", L);
      |                               ^
      |                               :
a.cc:20:31: error: expected primary-expression before ';' token
a.cc:21:3: error: expected primary-expression before '?' token
   21 |   ??????  printf("%.4f\n", h);
      |   ^
a.cc:21:4: error: expected primary-expression before '?' token
   21 |   ??????  printf("%.4f\n", h);
      |    ^
a.cc:21:5: error: expected primary-expression before '?' token
   21 |   ??????  printf("%.4f\n", h);
      |     ^
a.cc:21:6: error: expected primary-expression before '?' token
   21 |   ??????  printf("%.4f\n", h);
      |      ^
a.cc:21:7: error: expected primary-expression before '?' token
   21 |   ??????  printf("%.4f\n", h);
      |       ^
a.cc:21:8: error: expected primary-expression before '?' token
   21 |   ??????  printf("%.4f\n", h);
      |        ^
a.cc:21:30: error: expected ':' before ';' token
   21 |   ??????  printf("%.4f\n", h);
      |                              ^
      |                              :
a.cc:21:30: error: expected primary-expression before ';' token
a.cc:21:30: error: expected ':' before ';' token
   21 |   ??????  printf("%.4f\n", h);
      |                              ^
      |                              :
a.cc:21:30: error: expected primary-expression before ';' token
a.cc:21:30: error: expected ':' before ';' token
   21 |   ??????  printf("%.4f\n", h);
      |                              ^
      |                              :
a.cc:21:30: error: expected primary-expression before ';' token
a.cc:21:30: error: expected ':' before ';' token
   21 |   ??????  printf("%.4f\n", h);
      |                              ^
      |                              :
a.cc:21:30: error: expected primary-expression before ';' token
a.cc:21:30: error: expected ':' before ';' token
   21 |   ??????  printf("%.4f\n", h);
      |                              ^
      |                              :
a.cc:21:30: error: expected primary-expression before ';' token
a.cc:21:30: error: expected ':' before ';' token
   21 |   ??????  printf("%.4f\n", h);
      |                              ^
      |                              :
a.cc:21:30: error: expected primary-expression before ';' token