BilgisayarKavramlari / Programlamaya-Giris

Her Dil için Programlamaya Giriş Antreman Soruları ve Çözümleri
517 stars 899 forks source link

Programlamaya giriş #518

Open mustafaskilic opened 6 years ago

mustafaskilic commented 6 years ago

include

using namespace std; int main() { int a;

cout<<"Lutfen notunuzu girin: "; cin>>a; if(a<70) cout<<"F"<<endl; if(a>=70 && a<80) cout<<"C"<<endl; if(a>=80 && a<90) cout<<"B"<<endl; if(a>=90 && a<=100) cout<<"A"<<endl; while(a>100) { cout<<"Hatali Giris"<<endl; cout<<"Lutfen Tekrar Giriniz : "; cin>>a; } if(a<70) cout<<"F"<<endl; if(a>=70 && a<80) cout<<"C"<<endl; if(a>=80 && a<90) cout<<"B"<<endl; if(a>=90 && a<=100) cout<<"A"<<endl;

}