kodlama işine tamamen 0'dan başlayanlar bana ö.m atsın yardım ederim
Follow along with the video below to see how to install our site as a web app on your home screen.
Not: This feature may not be available in some browsers.
#include <stdio.h>
#include <conio.h>
int main()
{
int s,i ;
char b=' ' ;
char kac_kelime[256] ;
puts("Kelime sayisini saydirmak istediginiz cumleyi giriniz.") ;
fgets(kac_kelime,256,stdin) ;
for(i=0; i=256 ;i++ )
{
if(b==kac_kelime[i])
s=s+1 ;
}
printf("Cumlede %d tane kelime vardir.",s+1) ;
getch() ;
return 0 ;
}
#include <iostream>
#include <windows.h>
#include <string>
using namespace std;
int main () {
int program;
SetConsoleTitle("Hello! Welcome to Calculator");
START_PROGRAM:
cout << endl;
cout << " <Welcome to Calculator> " << endl;
long numberOne, numberTwo;
int process;
cout << "1. Number : ";
cin >> numberOne;
cout << "2. Number : ";
cin >> numberTwo;
cout << endl;
cout << "1 : + " << endl;
cout << "2 : - " << endl;
cout << "3 : * " << endl;
cout << "4 : / " << endl;
cout << endl;
cout << "transaction number : ";
cin>>process;
switch (process) {
case 1:
system("cls");
cout << endl;
cout << "Result : " << numberOne + numberTwo;
cout << endl;
goto START_PROGRAM;
break;
case 2:
system("cls");
cout << endl;
cout << "Result : " << numberOne - numberTwo;
cout << endl;
goto START_PROGRAM;
break;
case 3:
system("cls");
cout << endl;
cout << "Result : " << numberOne * numberTwo;
cout << endl;
goto START_PROGRAM;
break;
case 4:
system("cls");
cout << endl;
cout << "Result : " << numberOne / numberTwo;
cout << endl;
goto START_PROGRAM;
break;
default:
system("cls");
cout << "error number ! " << endl;
cout << endl;
goto START_PROGRAM;
}
cin >> program;
}
#include <iostream>
#include <string>
#include <windows.h>
using namespace std;
int main () {
int program;
SetConsoleTitle ("Sifre 3 Deneme Hakki / Snare");
int denemeHakki;
string sifre, sifre1;
denemeHakki = 3;
sifre = "123456";
giris:
cout << "\n";
cout << " Sifreyi Giriniz : ";
cin >> sifre;
if (denemeHakki ==1 )
{
cout << "\n";
cout << "Programa Giris engellendi 3 deneme hakkiniz bitti !";
}
else
{
if (sifre == "123456")
{
cout << "Tebrikler ! Programa Giris Yaptiniz.";
}
else
{
cout << "\n";
cout << "Hata!! Programa giris yapilmadi. " << denemeHakki - 1 << " hakkiniz kaldi "<<endl;
denemeHakki = denemeHakki - 1;
goto giris;
}
}
cin >> program;
}