-
Notifications
You must be signed in to change notification settings - Fork 0
/
code.cman
59 lines (57 loc) · 832 Bytes
/
code.cman
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
/*------- primitive declration --------*/
const int var1='a';
bool b=true;
char ch=12,cc2=20,cfd=256;
const int x=12.34;
sTruct student
{
public:
int id;
double grade;
private:
int c=0;
};
class Test1
{
public:
int write()
{
return 0;
}
};
void main()
{
if (k > 0)
int x, i;
char ali='a';
bool abbas = true;
Student student1;
student1.id = 123;
student1.grd = 52;
cout << "Please enter y" << i;
cin >> y;
i = sum(x, y);
int k = 0;
while (i<10)
{
student1.grd = -student2.grade + student4.grade;
if (student1.grd>100)
break;
elseif(student1.grd > 75)
student1.grd = student1.grd*0.75;
elseif(student1.grd > 50)
student1.grd = student1.grd / (student2.grade % 2);
else
i++;
break;
}//end of while
}
const int k = 0;
void sum(int x,int y)
{
return x+y;
}
int test()
{
int k = 0;
}