web üzerinden c++ arayüzü 4 adet online adres verilmiştir. kopyalayıp uygulayın 1-https://www.programiz.com/cpp-programming/online-compiler/ 2-https://www.w3schools.com/cpp/cpp_compiler.asp 3-https://onecompiler.com/cpp 4-https://www.jdoodle.com/online-compiler-c++/ 5.olarak visual studio 2022 c++ için kendi bilgisayarınıza kurup çalıştırabilirsiniz. https://visualstudio.microsoft.com/tr/vs/community/ 6.olarak visual studio code c++ için kendi bilgisayarınıza kurup çalıştırabilirsiniz. https://code.visualstudio.com/ adresinden indire bilirsiniz //ilk örnek #include using namespace std; int main() { int a, b, c = 0, d; a = 5; b = 6; c = a + b; cout << "c=" << c << endl; } //ilk örnek #include using namespace std; int main() { int a,b,c=0,d; a=5;b=6; c=a+b; cout<<"c="< #include using namespace std; int main() {//ana blok int a, b; a = 10; b =--a; cout<<"a="< using namespace std; int main() {int i; for(i = 1 ; i < 10 ; i++) { if (i == 5) {break; cout<< i< #include using namespace std; int main() {int a=0,b,c=0,d,f,g,h; do {a++; b=rand()%101; cout< using namespace std; int main() {int a,b,c,d; ev:cout<<"gecme notu 50 notunuz="; cin>>a; if (a>=50) cout<<"direk geçtiniz \n"; //kalma ve bütünleme durumu else // blok {cout<<"bütünlemeden aldiginiz not="; cin>>a; if(a>=60) cout<<"butle gectiniz\n"; else cout<<"kaldiniz\n"; }} //girilen notun geçip kalması #include using namespace std; int main() {int a,b,c,d; ev:cout<<"gecme notu 50 notunuz="; cin>>a; if (a<=0)goto ev; if(a>=50) cout< #include //Randomize kütüphanesini çalışıtırı using namespace std; int main() {int a,b,c,d,f; //Buraya geliceğiz. srand(time(NULL)); a=rand()%11;//0-10 arası sayı üretir. b=rand()%11; if (a==b) cout<<"a="<b) cout<<"a="<b="< #include #include using namespace std; int main() {int m=10,n=0,r,t,y,z; srand(time(NULL)); setlocale(LC_ALL,("Turkish")); //integer sınırını test do { m=rand()%11;//0- 32767 n++; cout< #include using namespace std; insert main() { int a,b,c,d,f,g,h,enb=0; srand(time(0)); //7 sayı üret enb yeri ile bul for(a=1;a<8;a++) {b=rand()%58+21; //21 ile 78 arası if(b>enb) {enb=b; g=a;} cout<>a; while(a!=b) { c++; b=rand()%101; cout< #include using namespace std; int main() //istenilen miktarda cift sayı {int a,b=0,c,d,f=0,g,k; cout<<"kac adet cift sayi uretilecek="; cin>>a; srand(time(0)); while(a!=f) { b++; c=rand()%101; if (c%2==0) {f++; cout<<"sayi cift="< using namespace std; int main() {int a,b,c,d; ev:cout<<"sayı gir"; cin>>c;//giriş if (c<=0) {cout<<"negatif ve sifir girisi yok"; goto ev;} //if yapı kontrolü if (c%2==0)//kalan cout< using namespace std; int main() {int a=0,b,c=0,d,f ; while (a!=10) { a++; if (a%2==1) continue; c++; cout<enb) {enb=b; g=a;} cout<>a; cc:g=0;f=0;system("cls");d++; for(b=1;b<=a;b++) {c=rand()%2;// 0 ve 1 için if (c==0) {cout<<"Y"<>a;// girilen bilgi //13 cout<<"kac tekrar yapilsin\n"; cin>>d; ev: b++; c=rand()%75+12; if(c==a)f++; cout< using namespace std; int main(){ char islem; int s1, s2, s3; cout<<"Önce işlemi sonra sayıları girin"; cin>>islem>>s1>>s2; switch (islem) { case '+' : s3 = s1+s2;//break; case '/' : s3 = s1 / s2; break;//3/2=1 s3=1 case '-' : s3 = s1 - s2; break; case '*' : s3 = s1 * s2; break; default : cout<<"Hata"; } cout<<"\nSonuc = "<