Klavyeden girilen iki sayıyı toplayan ve gösteren C++ kodları :
#include <iostream>
using namespace std;
int main()
{
setlocale(LC_ALL,"Turkish"); //Türkçe karakter
int s1,s2,toplam;
cout<<"1. Sayıyı Girin : ";
cin>>s1;
cout<<"2. Sayıyı : ";
cin>>s2;
toplam=s1+s2...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.