sape pandai c programming n VB?

More
11 years 1 month ago #28635 by Azwan_1384
Assalamualaikum & salam sejahtera,

Kalau VB or C 0r C++ saya takde masalah.. Kamu nak tahu pasal apa?

Please Log in or Create an account to join the conversation.

More
11 years 3 weeks ago #28753 by Sky_Hanz
Kalau VB.net den tau la jugak, sbb blaja pon blaja sndri jerr..
basic pon mase dip jerr.. nak blaja sama2 bole kan kwn2 semua..?? ;)

Please Log in or Create an account to join the conversation.

More
10 years 10 months ago #31025 by fazna_cute
kalau VB sy blh laa ajarkn tapi kalo C+ sy tak reti nak guna

Please Log in or Create an account to join the conversation.

More
10 years 10 months ago #31035 by mastersuse
Azwan_1384 tulis:

Assalamualaikum & salam sejahtera,

Kalau VB or C 0r C++ saya takde masalah.. Kamu nak tahu pasal apa?


wow, kamu pandai vb dan c++ ke? boleh la ajar.. :blush:

Please Log in or Create an account to join the conversation.

More
10 years 10 months ago #31458 by missnuruL
actually ape yg ai nak tanya neh bkn C or Vb tp ASP..
sape2 yg pandai tuh ajarkan ai pepelissss...
Canne nak gune Restrict Access To Page dalam
Dreamweaver tuh? Ai godek2 tp xtau canne nak buat..
Pelissss ~! :(

Please Log in or Create an account to join the conversation.

More
10 years 10 months ago #31459 by sya_zachery
uhukS.. mak ai.. tetibe den jadi blur truss.. ilang segala ilmu di minda..huehuehue.. sarender sarender.. i can\'t help u..i\'m sorry..huehuehue..

Please Log in or Create an account to join the conversation.

More
10 years 10 months ago #31460 by sya_zachery
Taha89 tulis:

#include <stdio.h>
#include <conio.h>
#include <string.h>

main()
{
char selection;
char ID_Num[10];
float Hr_Wgt_Rate, Num_Hr_wrk , Gross_Sal,Net_Sal, Total_Payroll=0;

    for(;;)
    {
          flushall();
          while(1)
          {
               printf(\"Menu\\n\");
               printf(\"\\n E - Employee\'s Data\");
               printf(\"\\n P - Process Monthly Report\");
               printf(\"\\n X - Exit\");
               printf(\"\\n\\n Select Item:  \");

               scanf(\"%c\",&selection);

               if (selection == \'X\') return 0;
               else if (selection == \'E\' || selection == \'P\')
               break;

          }

          switch (selection)

          {
          case \'E\':
             {
             printf(\"*** Key-In Employee\'s Data **\");
             printf(\"\\n\");
             flushall();
             printf(\"\\n Employee ID:\",ID_Num);
             scanf(\"%c\",&ID_Num);
             flushall();
             printf(\"\\n Hour Weight Rate:\",Hr_Wgt_Rate);
             scanf(\"f\",&Hr_Wgt_Rate);
             flushall();
             printf(\"\\n Number Hours Worked:\");
             scanf(\"%f\",&Num_Hr_wrk);


             printf(\"\\n\\n\\n\");
             printf(\"EMPLOYEE\'S ID : %c\",ID_Num);

             if (Num_Hr_wrk > 40)
             {Net_Sal = ((Hr_Wgt_Rate * 40) + (((Num_Hr_wrk-40) * (Hr_Wgt_Rate))/2));
             printf(\"\\nNET SAlARY : %.3f\",Net_Sal);
             }
             else if (Num_Hr_wrk>=0 && Num_Hr_wrk<=40)
             {Net_Sal = (Num_Hr_wrk * Hr_Wgt_Rate);
             printf(\"\\nNET SAlARY : %.3f\",Net_Sal);

             break;
             }

             }

          case \'P\':
               {
               printf(\"\\n\\n\");
               printf(\"*** Process Monthly Report ***\");
               printf(\"\\n TOTAL PATROLL : %.2f\",Total_Payroll);
               printf(\"\\n AVERAGE AMOUNT PAID : %.2f\",Gross_Sal);
          }
    }
       getch() ;
       return 0;
}
}
tolong baiki aku nyer koding....
await xjadi2.... huhuhuhuhu
TOLONG....
betul2 perlukan bantuan nih.....


adehhh..masa compile kan ke dia tunjuk error nye kat mana.. u carik error die laa..dari tempat yang salah tu..den tengok pun den poning ni haa..

Please Log in or Create an account to join the conversation.

More
10 years 10 months ago #31477 by missnuruL
owhh sedeynyer.. :(
ai dah google tp ai xpaham ape yg ai bace tuh..
secara teori mgkn paham tp kalo nak dipraktikkan xreti la..
bantulah saya :(

Please Log in or Create an account to join the conversation.

More
10 years 10 months ago #31480 by hondacup_89
sya_zachery tulis:

Taha89 tulis:

#include <stdio.h>
#include <conio.h>
#include <string.h>

main()
{
char selection;
char ID_Num[10];
float Hr_Wgt_Rate, Num_Hr_wrk , Gross_Sal,Net_Sal, Total_Payroll=0;

    for(;;)
    {
          flushall();
          while(1)
          {
               printf(\"Menu\\n\");
               printf(\"\\n E - Employee\'s Data\");
               printf(\"\\n P - Process Monthly Report\");
               printf(\"\\n X - Exit\");
               printf(\"\\n\\n Select Item:  \");

               scanf(\"%c\",&selection);

               if (selection == \'X\') return 0;
               else if (selection == \'E\' || selection == \'P\')
               break;

          }

          switch (selection)

          {
          case \'E\':
             {
             printf(\"*** Key-In Employee\'s Data **\");
             printf(\"\\n\");
             flushall();
             printf(\"\\n Employee ID:\",ID_Num);
             scanf(\"%c\",&ID_Num);
             flushall();
             printf(\"\\n Hour Weight Rate:\",Hr_Wgt_Rate);
             scanf(\"f\",&Hr_Wgt_Rate);
             flushall();
             printf(\"\\n Number Hours Worked:\");
             scanf(\"%f\",&Num_Hr_wrk);


             printf(\"\\n\\n\\n\");
             printf(\"EMPLOYEE\'S ID : %c\",ID_Num);

             if (Num_Hr_wrk > 40)
             {Net_Sal = ((Hr_Wgt_Rate * 40) + (((Num_Hr_wrk-40) * (Hr_Wgt_Rate))/2));
             printf(\"\\nNET SAlARY : %.3f\",Net_Sal);
             }
             else if (Num_Hr_wrk>=0 && Num_Hr_wrk<=40)
             {Net_Sal = (Num_Hr_wrk * Hr_Wgt_Rate);
             printf(\"\\nNET SAlARY : %.3f\",Net_Sal);

             break;
             }

             }

          case \'P\':
               {
               printf(\"\\n\\n\");
               printf(\"*** Process Monthly Report ***\");
               printf(\"\\n TOTAL PATROLL : %.2f\",Total_Payroll);
               printf(\"\\n AVERAGE AMOUNT PAID : %.2f\",Gross_Sal);
          }
    }
       getch() ;
       return 0;
}
}
tolong baiki aku nyer koding....
await xjadi2.... huhuhuhuhu
TOLONG....
betul2 perlukan bantuan nih.....


adehhh..masa compile kan ke dia tunjuk error nye kat mana.. u carik error die laa..dari tempat yang salah tu..den tengok pun den poning ni haa..


error xkeluar pun masa run tu... tp xpelah.. problem ni ak da setelkan da pun.. da lama benar dah taha89 tnya.... adesss

Please Log in or Create an account to join the conversation.

More
10 years 9 months ago #32327 by aku_dan_dia
kalo cm2 aku nk tnyer psal vb bleh x???
poning r bnda alah nie...
dari ari2 aku try x lpas2 gak...
sangkut jek....

error aku kt rs.index....
tp bile aku chek connection ngn access suma aku da connect kn...
da sesape yg bleh bntu???
asap nie....

ke ada pape yg aku kene reference or ada component dyer?????:(
:( :( :( :( :( :( :(

Please Log in or Create an account to join the conversation.

Time to create page: 0.496 seconds