added vscode extensions
This commit is contained in:
parent
7cde0829be
commit
26e2a50441
316 changed files with 37301 additions and 0 deletions
21
.vscode/extensions/eckertalex.borealis-1.0.2/demo/cpp.cpp
vendored
Normal file
21
.vscode/extensions/eckertalex.borealis-1.0.2/demo/cpp.cpp
vendored
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
#include <iostream>
|
||||
using namespace std;
|
||||
|
||||
int main()
|
||||
{
|
||||
int n1, n2;
|
||||
|
||||
cout << "Enter two numbers: ";
|
||||
cin >> n1 >> n2;
|
||||
|
||||
while(n1 != n2)
|
||||
{
|
||||
if(n1 > n2)
|
||||
n1 -= n2;
|
||||
else
|
||||
n2 -= n1;
|
||||
}
|
||||
|
||||
cout << "HCF = " << n1;
|
||||
return 0;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue