Skip to content
Snippets Groups Projects
Commit 8799cb38 authored by Nathan's avatar Nathan
Browse files

code formatting

parent 9c5e84b7
No related branches found
No related tags found
No related merge requests found
# Worksheet 5:
## Stacks & RPN Calculator
```c++
class Worksheet{
public:
Worksheet(int n){
sessionNo = n;
}
void whatSession(){
printf("Worksheet %d", sessionNo);
}
private:
int sessionNo;
};
int main(){
Worksheet worksheet(6);
worksheet.whatSession();
return 0;
}
```
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment