Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <string>
- using namespace std;
- int fun(int num)
- {
- return num / 2;
- }
- void main()
- {
- //Breakpoint Example
- int num;
- cout << " Enter num: ";
- cin >> num;
- int Array[5];
- for (int i = 0; i < 5; i++)
- Array[i] = num *i;
- if (fun(num))
- {
- cout << "The number is greater than or equal 2" << endl;
- }
- system("pause");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement