feat: add sum#4
Conversation
|
Here is the summarized build result: Here is the link to Github Actions build: https://github.com/d-cheholia/code-examples/actions/runs/7727788871 |
| @@ -0,0 +1,13 @@ | |||
| #include <iostream> | |||
|
|
|||
| int main( void ) { | |||
There was a problem hiding this comment.
Code Style issue:
Original code:
↓
int·main(·void····)······{↓Fixed code:
↓
int·main(void)·{↓| std::cin >> two; | ||
| sum = one + two; | ||
| std::cout << "The sum of " << one << " and " << two << " is " << sum << std::endl; | ||
| } No newline at end of file |
There was a problem hiding this comment.
Code Style issue:
Original code:
····sum·=·one·+·two;↓
····std::cout·<<·"The·sum·of·"·<<·one·<<·"·and·"·<<·two·<<·"·is·"·<<·sum·<<·std::endl;↓
·}```
Fixed code:
```diff
····sum·=·one·+·two;↓
····std::cout·<<·"The·sum·of·"·<<·one·<<·"·and·"·<<·two·<<·"·is·"·<<·sum↓
··············<<·std::endl;↓
}```
Cpp-Linter Report
|
No description provided.