مساء الخير
يعطيك الف عافية
ويجزاك عن الطلاب الف خير
انا عندي مشكلة بسيطة
المطلوب منا في الكود انه نكتب حرف باستخدام gotoxy
فانا كتبت الكود لكنه مو راضي يشتغل
هذا الكود
كود:
<include<iostream.h#
<include<conio.h#
void main()
{
gotoxy(0,0);
cout<<"B";
gotoxy(0,1);
cout<<"B";
gotoxy(0,2);
cout<<"B";
gotoxy(0,3);
cout<<"B";
gotoxy(0,4);
cout<<"B";
gotoxy(0,5);
cout<<"B";
gotoxy(1,0);
cout<<"B";
gotoxy(2,0);
cout<<"B";
gotoxy(3,1);
cout<<"B";
gotoxy(3,2);
cout<<"B";
gotoxy(2,3);
cout<<"B";
gotoxy(1,3);
cout<<"B";
gotoxy(1,5);
cout<<"B";
gotoxy(2,5);
cout<<"B";
gotoxy(3,5);
cout<<"B";
gotoxy(3,4);
cout<<"B";
getch();
}