-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathglobal.cpp
More file actions
35 lines (30 loc) · 831 Bytes
/
Copy pathglobal.cpp
File metadata and controls
35 lines (30 loc) · 831 Bytes
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
#include <iostream>
using namespace std;
void lineanime(){
list =
}
int main () {
float f1 = 4e3; //exponential
int i1 = 4e3;
cout << f1;
cout << i1;
cout << endl;
//bool
bool is_cpp_hard = false;
bool is_python_easy = true;
cout << "1 indicates true and 0 indicates false " << endl ;
cout << "python is easy : " << is_python_easy << endl;
cout << "cpp is hard : " << is_cpp_hard << endl;
//char
char myblood = 'A', mygit = 'B' , youare = 'C';
cout << "my blood group is " << myblood << " , my current GitHub grade is +" << mygit << " and you are a '" << youare << "'";
string st = "string";
cout << st <<endl;
int a = 25;
int* ptra;
ptra = &a;
cout << a <<endl;
cout << *ptra <<endl;
cout << ptra <<endl;
cout << &a <<endl;
}