Tuesday, January 20, 2015

Clash of Clan Cambodia Flag in Decoration

Clash of Clan Cambodia Flag in Decoration 

Friday, January 9, 2015

Photoshop Assignment How to Make 3D Picture Pop-Out in Khmer

ប្រធានបទ៖ការធ្វើរូបភាពផុសចេញពីក្នុងស៊ុម ឬក្នុងអ្វីមួយ
រូបភាពដើម


 រូបភាពកែរួច

រៀបចំដោយ៖ អាត់ រស្មី

Thursday, January 8, 2015

C++ Assignment Code to Manage a Small Bookshop in Khmer

ប្រធានបទ៖ កិច្ចការចូលសរសេរកម្មវិធីគ្រប់គ្រងហាងទំនិញតូចមួយ

មាតិការ

១.បម្រាប់ដែលហាងលក់សៀវភៅត្រូវការក្នុងការសរសេរកូដ.................................................
២. ការសរសេរកូដ.........................................................................................................
៣. លទ្ធផល................................................................................................................
៤. ឯកសារយោង..........................................................................................................

១.​ បំរាប់របស់ហាងលក់ទំនិញ
ចូរសរសេរ Program មួួយដើម្បីរកថ្លៃលក់ទំនិញដែលមានរាយនាមដូចខាងក្រោម៖
book, pen, pencil, correctionpen, ruler, cover, dictionary, marker, ink ដោយអនុញ្ញាតិឲ្យ User បញ្ចូលចំនួួនផលិតផល(quantity)នឹងតម្លៃ(Unit_price)ពី Keyboard។ ប្រសិនបើអតិថិជនទិញទំនិញមុខណាមួយតិចជាងឬស្មើ៣០មិនទទួលបានការបញ្ចុះតម្លៃទេ ប៉ុន្តែប្រសិនបើទិញផលិតផលនេះនៅចន្លោះរវាង ៣០ទៅ៦០នឹងត្រូវបញ្ចុះឲ្យ១០% ហើយបើអតិថិជនលើស៦០ឡើងទៅនឹងទទួលបានការបញ្ចុះតំលៃ២០%។ 
ចូរបង្ហាញតំលៃសរុបរបស់ផលិតផលនិមួយៗដោយគិតជាលុយខ្មែរ លុយដុល្លា និងលុយបាត។ ហើយបង្ហាញតំលៃសរុបរបស់ផលិតផលទាំងអស់ដោយគិតជាលុយខ្មែរ លុយដុល្លា និងលុយបាតផងដែរ៕

 ២. ការសរសេរកូដ
#include<stdio.h>
#include<conio.h>
void main(){
char ch;
Again:
clrscr();
int number,book,pen,pencil,correctionpen,ruler,cover,dictionary,marker,ink;
float totaltemp=0,total=0,total1=0,total2=0,total3=0,total4=0,total5=0,total6=0,total7=0,total8=0,total9=0,
total10=0,love,love1,oun,oun1,ounsomlanh,ounsomlanh1,ounheang,ounheang1,
loveoun,loveoun1,loveounheang,loveounheang1,miss,miss1,missoun,missoun1,
missounheang,missounheang1,result,book_price,pen_price,pencil_price,
correctionpen_price,ruler_price,cover_price,dictionary_price,marker_price,ink_price;
printf(" ***ATHRASMEY BOOKSHOP***\n\n");
printf("1.book     2.pen          3.pencil   4.correction pen  5.ruler\n");
printf("6. cover   7.dictionary   8.market   9.ink             10.Totall All\n");
printf(                        "\n\n\n");
re:
printf(" Pls Enter NUMBER of Item=");
scanf("%d",&number);
if (number==1){
printf("Input book=");
scanf ("%d",& book);
printf("Input book_price=Riel ");
scanf ("%f",& book_price);
if(book<30){
totaltemp=book*book_price;
total1=total1+totaltemp;
}
else if(book<=60){
totaltemp=30*book_price+(book-30)*book_price*0.9;
total1=total1+totaltemp;
}
else {
totaltemp=30*book_price+(30*book_price)*0.9+(book-60)*book_price*0.8;
total1=total1+totaltemp;
}
printf("Book payment in R is=%0.2f Reil.\n",totaltemp);
love=totaltemp/4200;
printf("Book payment in $ is=%0.2f $.\n",love);
love1=totaltemp/100;
printf("Book payment in B is=%0.2f B.\n",love1);
printf(" \n");
goto re;
}
if (number==2){
printf("Input pen=");
scanf ("%d",& pen);
printf("Input pen_price=Riel ");
scanf ("%f",& pen_price);
if(pen<30){
totaltemp=pen*pen_price;
total2=total2+totaltemp;}
else if(pen<=60){
totaltemp=30*pen_price+(pen-30)*pen_price*0.9;
total2=total2+totaltemp;}
else {
totaltemp=30*pen_price+(30*pen_price)*0.9+(pen-60)*pen_price*0.8;
total2=total2+totaltemp;}
printf("pen payment in R is=%0.2f Reil.\n",totaltemp);
oun=totaltemp/4200;
printf("pen payment in $ is=%0.2f $.\n",oun);
oun1=totaltemp/100;
printf("pen payment in B is=%0.2f B.\n",oun1);
printf(" \n");
goto re;
}
if (number==3){
printf("Input pencil=");
scanf ("%d",& pencil);
printf("Input pencil_price=Riel ");
scanf ("%f",& pencil_price);
if(pencil<30){
totaltemp=pencil*pencil_price;
total3=total3+totaltemp;}
else if(pencil<=60){
totaltemp=30*pencil_price+(pen-30)*pencil_price*0.9;
total3=total3+totaltemp;}
else{
totaltemp=30*pencil_price+(30*pencil_price)*0.9+(pencil-60)*pencil_price*0.8;
total3=total3+totaltemp;}
printf("pencil payment in R is=%0.2f Reil.\n",totaltemp);
ounsomlanh=totaltemp/4200;
printf("pencil payment in $ is=%0.2f $.\n",ounsomlanh);
ounsomlanh1=totaltemp/100;
printf("pencil payment in B is=%0.2f B.\n",ounsomlanh1);
printf(" \n");
goto re;
}
if (number==4){
printf("Input correctionpen=");
scanf ("%d",& correctionpen);
printf("Input correctionpen_price=Riel ");
scanf ("%f",& correctionpen_price);
if(correctionpen<30){
totaltemp=correctionpen*correctionpen_price;
total4=total4+totaltemp;}
else if(correctionpen<=60){
totaltemp=30*correctionpen_price+(correctionpen-30)*correctionpen_price*0.9;
total4=total4+totaltemp;}
else{
totaltemp=30*correctionpen_price+(30*correctionpen_price)*0.9+(correctionpen-60)
*correctionpen_price*0.8;
total4=total4+totaltemp;}
printf("correctionpen payment in R is=%0.2f Reil.\n",totaltemp);
ounheang=totaltemp/4200;
printf("correctionpen payment in $ is=%0.2f $.\n",ounheang);
ounheang1=totaltemp/100;
printf("correctionpen payment in B is=%0.2f B.\n",ounheang1);
printf(" \n");
goto re;
}
if (number==5){
printf("Input ruler=");
scanf ("%d",& ruler);
printf("Input ruler_price=Riel ");
scanf ("%f",& ruler_price);
if(ruler<30){
totaltemp=ruler*ruler_price;
total5=total5+totaltemp;}
else if(ruler<=60){
totaltemp=30*ruler_price+(ruler-30)*ruler_price*0.9;
total5=total5+totaltemp;}
else{
totaltemp=30*ruler_price+(30*ruler_price)*0.9+(ruler-60)*ruler_price*0.8;
total5=total5+totaltemp;}
printf("Ruler payment in R is=%0.2f Reil.\n",total5);
loveoun=totaltemp/4200;
printf("Ruler payment in $ is=%0.2f $.\n",loveoun);
loveoun1=totaltemp/100;
printf("Ruler payment in B is=%0.2f B.\n",loveoun1);
printf(" \n");
goto re;
}
if(number==6){
printf("Input cover=");
scanf ("%d",& cover);
printf("Input cover_price=Riel ");
scanf ("%f",& cover_price);
if(cover<30){
totaltemp=cover*cover_price;
total6=total6+totaltemp;}
else if(cover<=60) {
totaltemp=30*cover_price+(cover-30)*cover_price*0.9;
total6=total6+totaltemp;}
else {
totaltemp=30*cover_price+(30*cover_price)*0.9+(cover-60)*cover_price*0.8;
total6=total6+totaltemp;}
printf("Cover payment in R is=%0.2f Riel.\n", totaltemp);
loveounheang=totaltemp/4200;
printf("Cover payment in $ is=%0.2f $.\n",loveounheang);
loveounheang1=totaltemp/100;
printf("Cover payment in B is=%0.2f B.\n",loveounheang1);
printf(" \n");
goto re;
}
if (number==7){
printf("Input dictionary=");
scanf ("%d",& dictionary);
printf("Input dictionary_price=Riel ");
scanf ("%f",& dictionary_price);
if(dictionary<30){
totaltemp=dictionary*dictionary_price;
total7=total7+totaltemp;}
else if(dictionary<=60)  {
totaltemp=30*dictionary_price+(dictionary-30)*dictionary_price*0.9;
total7=total7+totaltemp;}
else                     {
totaltemp=30*dictionary_price+(30*dictionary_price)*0.9+(dictionary-60)*
dictionary_price*0.8;
total7=total7+totaltemp;}
printf("Dictionary payment in R is=%0.2f Riel.\n",totaltemp);
miss=totaltemp/4200;
printf("Dictionary payment in $ is=%0.2f $.\n",miss);
miss1=totaltemp/100;
printf("Dictionary payment in B is=%0.2f B.\n",miss1);
printf(" \n");
goto re;
}
if (number==8){
printf("Input marker=");
scanf ("%d",& marker);
printf("Input marker_price=Riel ");
scanf ("%f",& marker_price);
if(marker<30) {
totaltemp=marker*marker_price;
total8=total8+totaltemp;}
else if(marker<=60) {
totaltemp=30*marker_price+(marker-30)*marker_price*0.9;
total8=total8+totaltemp;}
else                     {
totaltemp=30*marker_price+(30*marker_price)*0.9+(marker-60)*marker_price*0.8;
total8=total8+totaltemp;}
printf("Marker payment in R is=%0.2f Riel.\n",totaltemp);
missoun=totaltemp/4200;
printf("Marker payment in $ is=%0.2f $.\n",missoun);
missoun1=totaltemp/100;
printf("Marker payment in B is=%0.2f B.\n",missoun1);
printf(" \n");
goto re;
}
if (number==9){
printf("Input ink=");
scanf ("%d",& ink);
printf("Input ink_price=Riel ");
scanf ("%f",& ink_price);
if(ink<30) {
totaltemp=ink*ink_price;
total9=total9+totaltemp;}
else if(ink<=60)  {
totaltemp=30*ink_price+(ink-30)*ink_price*0.9;
total9=total9+totaltemp;}
else                     {
totaltemp=30*ink_price+(30*ink_price)*0.9+(ink-60)*ink_price*0.8;
total9=total9+totaltemp;}
printf("Ink payment in B is=%0.2f Riel.\n",totaltemp);
missounheang=totaltemp/4200;
printf("Ink payment in $ is=%0.2f $.\n",missounheang);
missounheang1=totaltemp/100;
printf("Ink payment in B is=%0.2f B.\n",missounheang1);
printf(" \n");
goto re;
}
if (number>10){
printf("NO ITEM To Sell\n");
goto re;}
if (number==10){
total10=total1+total2+total3+total4+total5+total6+total7+total8+total9;
printf("All total you have to pay in R is=%0.2f Riel.\n",total10);
total=total10/4200;
printf("All total you have to pay in $ is=%0.2f $.\n",total);
result=total10/100;
printf("All total you have to pay in B is=%0.2f B.\n",result);
printf("\nRun program again (y/n)?"); }
fflush(stdin);
ch=getchar();
if(ch=='Y' || ch=='y')
goto Again;
getch();
}
៣.ជាលទ្ធផល



៤.ឯកសារយោង
                  1. សៀវភៅ C Programming នៃសាកលវិទ្យល័យ គ្រប់គ្រង និងសេដ្ឋកិច្ច
                      ដែលរៀបចំដោយ Loem Channdany
                           2.  បន្ថែមកូដមួយចំនួនដោយ អាត់ រស្មី




Sunday, January 4, 2015

Can​ Not Accept

មិនហ៊ានទទួល

Quick Book Assignment, Make a Company in Khmer

ប្រធានបទ៖ បង្កើតការគ្រប់គ្រងក្រុមហ៊ុនតូចមួយតាមរយៈកម្មវិធី Quickbook
មាតិការ
១. បម្រាប់នៃប្រតិបត្តិការ និងឈ្មោះបុគ្គលិក
២. Reports
          A.           General Journal
          B.           Trial Balance

          C.           Income Statement

          D.           Cash Flows

          E.           Balance Sheets

          F.           Inventory Worksheet

          G.           Sales by Customer Detail

          H.           Account Payable Aging Detail

          I.            Payroll Expense



បម្រាប់នៃប្រតិបត្តិការ
           
នៅ 01-May-15 ដោយមានកិច្ចសហប្រតិបត្តិការរវាងពីរភាគីក្នុងការចូលរួមបង្កើតក្រុមហ៊ុនមួយដែលមានឈ្មោះថា Cam Import Product Co.,ltd.  ក្នុងនោះមានការចូលរូមពី Mr. Ly Vanming និង Mr. Ath Rasmey ដើម្បីទិញ និងលក់ផលិតផលផ្សេងៗចេញនិងចូលក្នុងប្រទេស ដោយក្រុមហ៊ុនបានកំណត់ថ្លៃលក់ 100% នៃថ្លៃដើម៕


ប្រតិបត្តិការសំរាប់ May-2015

01-May-15  ម្ចាស់ក្រុមហ៊ុនទាំងពីរ បានបណ្ដាក់ទុនម្នាក់ពាក់កណ្ដាល ដែលក្នុងនោះទឹកប្រាក់សរុបមាន $100.000.00ដោយដាក់ក្នុងគណនីធានាគារ
02-May-15  ក្រុមហ៊ុនបានទិញទំនិញជំពាក់(Enter Bill, Bill Nº. B001)
មួយចំនួនពីក្រុមហ៊ុន Lunche Co.,ltd.ដូចជា៖                      
                            - Sport Bicycle ចំនួន 500 គ្រឿង
                            -  Normal Bicycle 200 គ្រឿង
                            -  Children Bicycle 250 គ្រឿង
                   

05-May-15 ក្រុមហ៊ុនបានលក់បន្តទំនិញមួយចំនួនទៅអោយ ហាង់លក់កង់ គង់ហេង  ជំពាក់នូវ (Create Invoice, S001)
                            -  Sport Bicycle ចំនួន 100 គ្រឿង
                            - Normal Bicycle ចំនួន 100 គ្រឿង
                                                       -  Children Bicycle  100 គ្រឿង
                    b:uEnþKat;)ansgR)ak;Bak;kNþal ehIyenACMBak;Bak;kNþaleTot .

10-May-15 ក្រុមហ៊ុនបានទិញជំពាក់នូវ (Enter Bill, Bill Nº. B002)
                            - Sport Bicycle cMnYn 200 គ្រឿង

11-May-15  ក្រុមហ៊ុនបានលក់ជឿទៅអោយ ហាង់លក់កង់ គង់ហេង បន្ថែមនទៀតនូវ (Create Invoice, S002)
                            -  Normal Bicycle cMnYn 100 គ្រឿង

15-May-15 គង់ហេង បានសង់ប្រាក់ដែលបានទិញ 05-May-15

20-May-15 ក្រុមហ៊ុនបានយកប្រាក់សង់ទៅអ្នកផ្គត់ផ្គង់វិញសំរាប់ B001

22-May-15  ក្រុមហ៊ុនបានទិញជំពាក់បន្ថែមនូវទំនិញដូចខាងក្រោម​ ដោយសន្យាថា ​នឹងសងនៅ ក្នុងខែក្រោយ។ (Enter Bill, Bill Nº. B003)
                            -  Sport Bicycle ចំនួន 50 គ្រឿង

23-May-14 ក្រុមហ៊ុនបានលក់ជាសាច់ប្រាក់ទៅអោយ គង់ហេង នូវ​​ (Enter Sales Receipt, S003)
                            -  Sport Bicycle ចំនួន 80 គ្រឿង

24-May-15 អតិថិជនបានសង់ប្រាក់ដែលបានទិញ 11-May-15

25-Jan-14    ក្រុមហ៊ុនបានទិញជាសាច់ប្រាក់នូវសំភារៈការិយាល័យចំនួន​  $70.00

26-Jan-14    ក្រុមហ៊ុនបានចំណាយលើការជួលអាគារចំនួន ​  $300.00

28-Jan-14    ក្រុមហ៊ុនបានកចំណាយលើទឹកភ្លើងចំនួន​  $160.00

30-Jan-14    ក្រុមហ៊ុនបានបើកប្រាក់បៀរវត្តន៍ចំនួន​  $1200.00
                   
Name
Position
Salary
Ath Rasmey
General Manager
$450.00
Hul Mengheang
Accountant
$300.00
Hak Sokhchann
Administrator
$250.00
Prak Sokha
Sales Executive
$200.00





រូបខាងក្រោមជាសាច់ប្រាក់សរុបដែលបានលក់ (Banking => Make Deposits)



Reports
A.      General Journal
          Reports => Accountant & Taxes => Journal

Chan Borey Co., Ltd.
Journal
All Transation





B.      Trial Balance
          Reports => Accountant & Taxes => Trial Balace






C.      Income Statement
          Reports => Company & Financial => Profit & Loss Standard

  
D.      Cash Flows
          Reports => Company & Financial => Statement of Cash Flows

E.      Balance Sheets
          Reports => Company & Financial => Statement of Cash Flows

 F.      Inventory Worksheet
          Reports => Inventory => Physical Inventory Worksheet

 G.     Sales by Customer Detail
          Reports => Sales => Sales by Customer Detail



H.      Account Payable Aging Detail
          Reports => Vendors & Payables => A/P Aging Detail


I.       Payroll Expense
          -Reports => Accountant & Taxes => Journal
          -Customize Report => Filters => Account => Payroll Expense => OK