İskenderun Teknik Üniversitesi 2018-2019 Programlama VİZE SINAVI
19)
main(){
int x=3;
while(x>0){
cout<<"*";
x--;
}
cout<<"**";
return 0;
}
20)
int s=1;
main(){
while(1){
cout<<"A";
if(s==2)
break;
cout<<"B";
s++;
}
}
22)
main(){
int i=0;
while(1){
i++;
if(i>5)
break;
i++;
}
cout<<"i "<<i;
}
23)
main(){
int A,B;
A=0;
B=3;
A= ++B;
if(A==B) cout<<"1";
else cout<<"0";
}
24)
Yorumlar
Yorum Gönder