C# Course
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Assignment #1

2 posters

Go down

Assignment #1 Empty Assignment #1

Post  Admin Wed Sep 05, 2007 3:37 pm

You are required to make a program that prints out the following on the screen:

1 2 3
4 5 6
7 8 9

Hints:
- use a for loop
- After using Console.WriteLine(), any new output to the screen will start from a new line, unlike using Console.Write() which will not make a new line and further output will just continue on the existing line.

Any questions on the program should be posted here isA

Deadline for assignment delivery is Saturday 8/9

Assignments should be sent to khaled3abbas@gmail.com

Thank you

Admin
Admin

Posts : 9
Join date : 2007-09-05

https://c-course.board-directory.net

Back to top Go down

Assignment #1 Empty PLZ

Post  AHMED Thu Sep 06, 2007 6:42 am

لو سمحت اشرح الجزء ده بالعربي

fter using Console.WriteLine(), any new output to the screen will start from a new line, unlike using Console.Write() which will not make a new line and further output will just continue on the existing line.

AHMED
Guest


Back to top Go down

Assignment #1 Empty Re: Assignment #1

Post  Admin Thu Sep 06, 2007 5:16 pm

Console.WriteLine():

لما تدخلها حاجة هتطلعها على الشاشة، وتنزل على سطر جديد بحيث لو استخدتها تانى الكلام ال بعد كده هيبقى فى سطر جديد

Console.Write():

لما تدخلها حاجة بتحطها ومبتنزلش على سطر جديد فا اى حاجة تانية هتكمل فى نفس السطر

جرب تشغل الكود ده

Console.WriteLine("Testing");
Console.WriteLine("Is this a new line?");
Console.ReadLine();

وجرب ده

Console.Write("Testing");
Console.WriteLine("Is this a new line?");
Console.ReadLine();

وشوف الفرق ما بينهم

Admin
Admin

Posts : 9
Join date : 2007-09-05

https://c-course.board-directory.net

Back to top Go down

Assignment #1 Empty finished

Post  AHMED Fri Sep 07, 2007 3:44 am

بفضل الله خلصته واشتغل معايا

ابعتهوالك ازاي

code يعني ولا ايه

هو ينفع ابعتلك على ميل جوجل من هوتميل عادي ؟

AHMED
Guest


Back to top Go down

Assignment #1 Empty هو صحي&amp

Post  AHMED Fri Sep 07, 2007 3:48 am

هو صحيح ال space

ما بين الارقام ديه مطلوبة ولا لأ

AHMED
Guest


Back to top Go down

Assignment #1 Empty Re: Assignment #1

Post  Admin Fri Sep 07, 2007 6:21 am

اه مطلوبة يا فقى

----

فى ناس شادة حيلها وبدأت تبعب الواجب اهه

يا ريت الباقى كلهم يشتغلو ويبعتوه

شدو حيلكم

Admin
Admin

Posts : 9
Join date : 2007-09-05

https://c-course.board-directory.net

Back to top Go down

Assignment #1 Empty Char[] Error

Post  Eng.Ahmed Sat Sep 08, 2007 12:30 pm

ana masalan 3ayez a3mel:
Console.WriteLine(i, i + 1, i + 2);
bey2ol en fe:
has some invalid arguments
leh ba2a mayenfa3sh abtedy el statement be integer mesh character?

Eng.Ahmed

Posts : 3
Join date : 2007-09-08
Age : 39
Location : Cairo, Egypt

http://www.sat.itgo.com

Back to top Go down

Assignment #1 Empty Re: Assignment #1

Post  Admin Sat Sep 08, 2007 1:51 pm

Eng.Ahmed wrote:ana masalan 3ayez a3mel:
Console.WriteLine(i, i + 1, i + 2);
bey2ol en fe:
has some invalid arguments
leh ba2a mayenfa3sh abtedy el statement be integer mesh character?

yenfa3 ya basha

bas enta mesta7'dem fasla (,) we mayenfa3sh testa7'dem fasla ella law heyya gowwa string

try this:

Console.WriteLine(i+" "+( i + 1)+" "+(i + 2));

Admin
Admin

Posts : 9
Join date : 2007-09-05

https://c-course.board-directory.net

Back to top Go down

Assignment #1 Empty Finished

Post  Eng.Ahmed Sat Sep 08, 2007 9:23 pm

I finished it & I sent it to your gmail, so please check it out....

Eng.Ahmed

Posts : 3
Join date : 2007-09-08
Age : 39
Location : Cairo, Egypt

http://www.sat.itgo.com

Back to top Go down

Assignment #1 Empty Re: Assignment #1

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum