Code for newbies to edit. [C++]
I wanted my entrance to the programming forum to be helpful.
this is a short program I wrote people who are just learning C++ to edit.
this is a short program I wrote people who are just learning C++ to edit.
Code:
// sample code
#include <iostream>
using namespace std;
int main ()
{
// declaring variables
int a, b, c;
int result;
// process
a = 5;
b = 3;
a = 5 / 1;
c = 10;
a = c - 5;
// result
cout << result;
}
