SPIES BERDAFTAR

17 February 2015

personal blog #3 : rugi?

ASSALAMMUALAIKUM W.B.T. peeps !


rugi ke?
aku minat.

dah. aku. minat.

macam nak jadi programmer @ software engineer.
tapi.
lecturer pun cam best.
nak iv para lecturer best x jd lecturer.
tapi maluuu.
:3

pepun.
yg pasti.
aku nak sambung degree.
sbb nak ilmu.
nk lebih mendalami ilmuNya.
kerja pikiaq len.


boleh lgutu?

regards,

10 February 2015

c programming source code sharing #6 : Printing a hollow square using nested for

ASSALAMMUALAIKUM W.B.T. peeps !

hi hi hi. (greeting ni, "hai hai hai" bukan gelak hi hi hi)
so today i would like to share the next source code, of my homework this week, freshly from oven!
*baru siap buat daa*

sample question:
Read an integer(entered by user) and prints a hollow square. the number of '=' used to draw line of each sides of square.

example, user enter 5, so the output is
=====
=      =
=      =
=      =
=====
a 5x5 square with a hollow.(hollow-lubang)
(not-so-square looking here, but in .exe file you'll see it is more like a square!)

another sample output:


of course, it will only works with positive integers.
& for integer=1 & 2, you'll not see a hollow.

soooo here's the screenshot of my source code:

CLICK IMAGE TO ENLARGE

or, download the c-file here. (can edit&try compile yourself!)

my lecturer told us, usually for this kind of question, there would be more than 1 solution. so my fellas out there, if you have a simpler & more unique way, please share! sharing is caring yow! & for any questions, please, just ask me ok? :)

regards,

02 February 2015

my group project assignment

ASSALAMMUALAIKUM W.B.T. peeps !

hi. just wanna tell you guys i'm doing sports score keeper (yep, with 's' coz more than 1 sport). for my Foundation in Computing II subject group project assignment. there'll will be basketball, futsal, netball & so on if Allah wills. Currently when i'm writing this i only finished Basketball Score Keeper & working on Futsal one. (stuck at penalty shootout part,duh.). Please pray for my group k. Adios!


regards,