You are on page 1of 1

#include<iostream>

#include<windows.h>
#include<stdio.h>
#include<conio.h>

using namespace std;

int main()
{

system("cls"); //clear screen


cout<< "Hoy\n"; //display Hello World
int x,y=2;
cout<< "Input value of x: ";
cin >> x; //store value of x
cout<< "Input value of y: ";
cin >> y; //store value of y
cout << "Result of x*y = " << x*y; //display value of x
getch(); //get character or wait for input
}

You might also like