Tema - Info 13.1.2022

You might also like

Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 2

1.

d
2. b
3. a
4. c
5. c
6. c
7. b
8. b
9. d
10. c
11. c
12. a
13. d
14. b
15. a
16. c
17. a
18. a
19. a
20. a
21. a
22. b
23. a
24. d
25. a
26. b
27. a
28. a
29. a
30. d
31. c
32.
C.x=(A.x+B.x)/2
C.y=(A.y+B.y)/2
33.
f.y=f1.y*f2.y
f.x=f1.x*f2.y+f2.x*f1.y
34.
if(a.y==b.y) cout<<”DA”;
else cout<<”NU”;
35.
ev.data_nasterii.an=1990;
36.
H.y=F.y*G.y
H.x=F.x*G.y+G.x*F.y
300
37.
struct Colet{
float pret;
float greutate;
char expeditor[31];
}x;
cin>>x.pret>>x.greutate>>x.expeditor;
38.
struct cerc{
int x,y;
float raza;
}x;
39.
struct masina{
char marca[21];
int anul_fabricatiei;}
x;
40.
float m=(x.med1+x.med2)/2;
41.
float d=sqrt(a.x*a.x+a.y*a.y);
42.
if (k!=0 && f.a%k==0 && f.b%k==0) cout<<” DA”;
43.
v.origine.x==v.extremitate.x && v.origine.y==v.extremitate.y;
44.
#include <iostream>

using namespace std;


struct elev{
char nume[20];
float nota;
};
elev e1,e2;
int main()
{
cin>>e1.nume>>e1.nota>>e2.nume>>e2.nota;
if(e1.nota>=e2.nota)
cout<<e1.nume;
else
cout<<e2.nume;

return 0;
}

You might also like