Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ConsoleApplication1.cpp : Defines the entry point for the console application.
- //
- #include "stdafx.h"
- #include "iostream"
- using namespace std;
- int testiculating(int x, int y) {
- return (x / y);
- }
- void main() {
- cout << "Hello World" << endl;
- int x = 10 * 5;
- cout << "x" << endl;
- cout << x << endl;
- int y;
- cin >> y;
- int a = testiculating(x, y);
- cout << a;
- cin.ignore(32767, '\n');
- cin.ignore(32767, '\n');
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement