NUFFNANG

Sabtu, 19 Januari 2013

lect hampeh

spe r lect nie..

c++

sub yg memeningkan aku..
sapela creat bnd nie an..
asg dy xsiap g nie..
sok nak submit..
trok aku..
cmne nak present sok..
so far..
aku dh wat sket..

nie dy coding dy..


#include <iostream>
#include <fstream>
#include <cstdlib>
#include <iomanip>
using namespace std;
void askme();
void menu();
void user1();



void main ()
{

cout<<"             ==========================================================\n";
cout<<"             ====   Welcome To Multinationals Electrical Company   ====\n";
cout<<"             ====  www.mec.com.my  Tel=07-2518683 Fax= 07-2518688  ====\n";
cout<<"             ==========================================================\n\n\n";
user1();
menu();


}

void user1()

{

int x,str;
int user,z;




ofstream a_file ( "Password.txt" );
a_file<<"2";
a_file.close();
ifstream b_file ( "Password.txt" );
b_file>> str;
cout<<"Enter your username :";
cin>>user;
cout<<"\nEnter your password : ";
cin>>x;

if (x==str)
{
cout<<"Great!!"<<endl;


}
else if (x==5)
{
cout<<"\n\nCounter closed.\n";
cout<<"Thank you."<<endl;
cout<<endl;
}
else
{
cout<<"\n\nInvalid password.Please try again.\n\n";
user1();


}

}

void menu()
{


char stock[20];
double price;
int y,quantity,sale,update;
cout<<"\n\nPlease select what process that you want\n";
cout<<"[1] Add new stock\n";
cout<<"[2] Sale stock\n";
cout<<"[3] Calculate stock\n";
cout<<"[4] Add user\n";
cout<<"[5] Logout\n";
cout<<" Your choose process number :";
cin>>y;


if (y==1)

{


cout<<"\n\nPlease insert the following data :\n\n";
cout<<"Stock name :";
cin>>stock;
cout<<"Stock quantity :";
cin>>quantity;
cout<<"Stock Price (per item): RM ";
cin>>price;
menu();
}

else if (y==2)
{
cout<<"\n\nPlease insert the following data :\n\n";
cout<<" Stock name :";
cin>>stock;
cout<<" Quantity sale :";
cin>>sale;
menu();
}


else if (y==3)
{

update =quantity-sale;
cout<<" Your current quantity is :"<<update<<endl;
menu();
}




else if(y==4)
   {
   cout<<"\n\nCounter closed.\n";
cout<<"Thank you."<<endl;
menu();
}

else if (y==5)
{
cout<<"\n\nCounter closed.\n";
cout<<"Thank you."<<endl;
cout<<endl;

}

else
{
cout<<"\n\n                 ' wrong input '";
menu();
}


}




void askme()
{

int w;
cout<<"\n\nPress 01 to main menu";
cout<<"\nYour choose :";
cin>>w;

if (w==01)
{

menu();
}

else
{
cout<<"Wrong input!";
askme();
}
}

Jumaat, 22 Jun 2012

last day 4 third year..


hahaaaa..
smbug lagi ktwe...hahahahahahaaaaaa...
alhamdulillah..
ari jie las day 4 3rd year..
besnyer..
sok aku blik kg..
akak aku amek..
then..snin plak dh stat li..
aku li kat PG...
kilag wat stell..
hope bes la kat sne..
dpat elaun 3rat je..
ckup la kot..
plus aku dok uma akak aku..
kuar wit mkan jela..
last payperrr td..
mak ai..bergadoh la gak soklan dy..
byak gak aku xley wt...
dh mlaz nak pk..
yg pntig aku dh biz fnal.
blan sept dpan..
InsyaAllah aku jd bdak last year..
hhaa..senior beb..
syok sioootttt....
ble la nak grade nie..xsaba plak..


Ahad, 3 Jun 2012

muslim super..

assalamualaikum..
nak cter sket..
psal smlam..
aku ngan mmber aku g dgr crmah..
kt msjid al-azim..
tjuk dy...
muslim super..
bes gak uztad nie cramah..
lupe plak nak btau nme dy..
nme uztaz 2 dr danial zainal abidin..
dy dr kot..
pnday kan..
blajar kat mesir..
ktorg smpy lambat sket..
sket je..
dkat kol 12 biz dh..
dy byak citer psal sjarah..
2 yg bes 2..
at the end of program..
aku bergmbar ngan dr 2....
 dh biz crmah..
blik tros g mkan..

lau nak tau psal artikal dy..
korg ley clik kat link kat bwak nie..
ok..
slmat blajar..

             http://www.danialzainalabidin.com/
   


dri sblah kot....dont be jelez k..
    









Jumaat, 1 Jun 2012

borch..

ari nie..turn aku plak g LI...
hahaa...cm bes jer..
kol 6.45 dh kne kat cmpus..
awl xawl la an..
kol 7 gak aku smpy..
ingat aku plig lmbat...
tp ad la..
hampeh tol...
kol 7.30 gak la grak g sne..
mmg tdo je dlam bus 2 an..
around 9.30 kot ktorg smpy...
smpy2 je dok lu dgr dy present...
not bad la,,
pas 2 dyorg bwak ktorg p line dyorg..
xrmay pun empolyee dy..
dpat la aku tgok cmne hydrolic n pneumatic...
bes gakk...
xlme pun..
kol 1 kot ktorg blik..
singgah mkan kat r n r sremban..
xsmpat pun solat jumaat..
solat zhor je kat uma...
gaye cm dpat cek beribu je..

shoot kt dpan company dy..

nak blik dh nie..

tgah dgr diorag present..

dlam line dyorag..

las shoot pic b4 msuk dlam bus...
                                             






Sabtu, 26 Mei 2012

ending of love

hmmmmmmmm...
aku xnak ckap byak..bial la bnd yg aku
attach nie..
crita ap yg aku rse..

good lau aku mmpu katekan kat dy ayat nie..
                                         






ok..i will...

hope dy terbace bnd nie..in fact its totally true..







IKLAN NUFFNANG

HB