1.DERS NOTU (GİRİŞ) 2018-2019 İSTE
ÖDEV
#include <iostream>
using namespace std;
int main()
{
int a,b,c;
int d,e,f;
cout<<"A GIRINIZ=";
cin>>a;
cout<<"B GIRINIZ=";
cin>>b;
cout<<"C GIRINIZ=";
cin>>c;
d=a*b*c;
e=a+b+c;
f=(a+2)*(b+3)*(c/2);
cout<<"a*b*c"<<d<<endl;
cout<<"a+b+c"<<e<<endl;
cout<<"en son sonuc"<<f;
return 0;
}
VEYA BU SEKILDE YAZILBILIR
#include <iostream>
using namespace std;
int main()
{
int a,b,c;
int d,e,f;
cout<<"A GIRINIZ=";
cin>>a;
cout<<"B GIRINIZ=";
cin>>b;
cout<<"C GIRINIZ=";
cin>>c;
cout<<"a*b*c"<<a*b*c <<endl;
cout<<"a+b+c"<<a+b+c <<endl;
cout<<"en son sonuc"<<(a+2)*(b+3)*(c/2);
return 0;
}






Yorumlar
Yorum Gönder