C++ Örnekleri 8 – Geçti Kaldı Örneği
#include <iostream> using namespace std; main() { int c; cout<<"sürücü kursu notları"; cin>> c; if(c>=90) { cout<<"aferin gectin"; } else if(c>70) { cout<<"aferin gectin"; } else if(c>60) { cout <<"aferin gectin"; } else { cout<<"üzgünüm kaldınız"; } cin>> c; }