Hi I have the following C++ code and wanted to know if anyone could translate the same code to Visual Basic for me. Thanks
[CODE]
int c, d, num, sum;
cout << “Enter a number -> ”;
cin >> num;

while (num > 20)
{
cout << “enter the first number -> ”;
cin >> c;
cout << “enter the second number -> ”;
cin >> d;
sum = c + d;
cout << “The sum of the numbers is -> ” << sum << endl;
num = num -1;