HI MAAM KATHRINA PAANO YUNG TULOY TULOY LANG YUNG TRANSACTION KASE AFTER 1 TRANSACTION NAGKOCLOSING NA YUNG COMMAND NYA MAY CODE KA PO BA PARA SA DI NAGKOCLOSE YUNG PROGRAM AFTER TRANSACTION
ask lang po di po na ra run yung sa huling part yung sa totalamt = totalamt + amt po ang reason po kasi walang naka declare na value po yung totalamt di po sya mag ra run. pano po kaya yon? c++ po gamit ko ty po
None as of the moment but I can create a video for it. For the meantime, you can check my other video discussing flow chart. It might help. ruclips.net/video/GEtRa-xZRXg/видео.html
Hello maam is it okay if i ask you a question regarding the code because I added some new features to the code and the total amount is stacking even if the program entered a new loop. Sana po mabasa niyo
I used For loop po kase before using the do-while loop that you did in the tutorial. I used For loop po para umulit yung buong program simula pinaka una every new customer.
if you wanted it to be reset, you have to initialize the total amount variable to zero before entering the new for loop meaning outside the new for loop. like this: totalamt=0; // reset to zero for(....) { }
You can do this by following the code I made. As long as the variable addAnother is equal to 'Y' or 'y' as shown in timestamp 11:10, you can continue ordering. And by choosing 'N' or 'n' for addAnother, the getting of order will stop and proceed to payment.
just for my opinion this program has pagkukulangs - what if wrong character ung napindot like instead of "y" pero mga any character na hinde y ung iniinput niya so sana mag ask siya to type the right char again - what if kulang ung cash na nilagay anyways, I'm still in a process of learning kaya ako andito. And sobrang detailed and understandble explanation mo po. Salamat poo 🙏🙏
Napakalinaw kung paano ginawa yung system.. maraming salamat po
you explain so well, you give a lot more detail and i love that
big thank you mas may natutunan pa ako dahil dito more videos to come pa po!!
Thank you, didn't think a video like this existed👏
THIS VIDEO IS VERY HELPFUL, TYSM!
I know all these things...
But really you explained so well....
Thank you so much for the compliment. :)
Napaka liwanag po ng iyong explanation maraming salamat po.
New subscriber po sana marami kapa pong ganito na mga program salamat po ulit
Thank you so much po Maam! Marami po akong natutunan
Really good.
Congratulation.
Big thank you ! it help me a lot.
Thank you po Prof💖
Hi maam thank u😚 cute ng boses mo
Thankyou po prof.❣️
Ma'am, how get and solve the stocks if you put stocks and revenue ma'am???plsss
Thank you this explains alot
holy shit! thank you so much
You are the bbbbbest ❤❤
You explain so well, you give a lot of details ❤❤ and I love ur accent 😭❤❤
Thanks ❤❤❤❤🇱🇾
How to display the bill and how to add print option?
can u help me my loop isn't working i think its around getch because i can’t use it. thank you
Thanks for the video, its help me alot .. how about if i want to show the receipt at the last part after payment made..
Hi ma'am ask ko lang po bakit dun po sa part ng declaring na po ng amt pag nag enter po ng qty 0.00 lang po nalabas kahit po .2 po nakalagay
Hello Kathrina, How do I contact you for guidance on a project?
you may email me your contact number and ill call you. kstdacanay@gmail.com
Can you help me if i want use function for the balance part
Its ok to visual basic?
Thankyou ma’am
Ma'am bakit nagpoprogram finished agad akin, hanggang dun lang siya sa Add Another amount pero di ko na masagot yung question kasi program finished na
Same ganyan din akin
hi ms. katrina the getche code wouldnt compile to run, is there any code can i use except getche?
how did you use the getche function? can you type here the line of code where you used it so i can help you better. thank you.
HI MAAM KATHRINA PAANO YUNG TULOY TULOY LANG YUNG TRANSACTION KASE AFTER 1 TRANSACTION NAGKOCLOSING NA YUNG COMMAND NYA MAY CODE KA PO BA PARA SA DI NAGKOCLOSE YUNG PROGRAM AFTER TRANSACTION
Do you have a flowchart for this code???
hi can u help me why my loop arent working
Sure
Sure. Can I see the code fragment of yout loop?
@@kathrinadacanay8527 it wont let me compile when i use the 'getch'
@@kathrinadacanay8527 #include
void main(void){
int code, qty;
float price, amt, totalAmt, cash, change;
char addAnother;
do{
printf("==================
");
printf("S.F.C Express Menu
");
printf("==================
");
printf("[1] Spicy Cheese Crunch Box Meal\t\t RM 25.00
");
printf("[2] Signature Box\t\t RM 21.00
");
printf("[3] Dinner Plate Combo\t\t RM 20.00
");
printf("[4] Bucket Dipidap\t\t RM 34.00
");
printf("[5] Kids Meals\t\t RM 13.00
");
printf("
Select the food Code\t: ");
scanf("%d", &code);
printf("
Enter Quantity\t: ");
scanf("%d", &qty);
switch (code) {
case 1: price = 25.00;
break;
case 2: price = 21.00;
break;
case 3: price = 20.00;
break;
case 4: price = 34.00;
break;
case 5: price = 13.00;
break;
}
amt = price * qty;
printf("
Amount: %.2f", amt);
totalAmt = totalAmt + amt;
printf("
Total Amount\t: %.2f", totalAmt);
printf("
Add another other(y/n)? ");
addAnother = getchar();
}while(addAnother == 'y' || addAnother == 'Y');
printf("
Cash Tendered:\t ");
scanf("%f", &cash);
change = cash - totalAmt;
printf("
Change\t\t: %.2f", change);
}
@@SHAHDELLpro this is the code that doesnt compile? the 'addAnother = getchar();' ?
hi maam pede ba gamitin to sa c++? thankyou po😊
Pwede Po ba ito sa c++, or pwede Po kaya siyang Gawin c++?
yes pwde
Can I get a printed invoice with c
ask lang po di po na ra run yung sa huling part yung sa totalamt = totalamt + amt po ang reason po kasi walang naka declare na value po yung totalamt di po sya mag ra run. pano po kaya yon? c++ po gamit ko ty po
yes hindi tlga pwde pag walang initial value ang totalamt. kasi totalamt = totalamt (which is walang value or gsrbage value) + amt..
hi.can i see the flowchart for this?.
Well explained! But how about nman po sa receipt ng inorder?
will work on this..
Hello dear! Why you don't develop a complete pos application project in C?
Hello! will work on this. 😊 i just gave birth thats why i havent uploaded any video since then. i hope you could watch it too once uploaded 😊
Maam good afternoon, do you have any tutorial how to create a program using C that will print a receipt, similar to grocery receipt? thankyouu
Will work on this..
Do you have a flowchart for this code??? Plz?
None as of the moment but I can create a video for it. For the meantime, you can check my other video discussing flow chart. It might help.
ruclips.net/video/GEtRa-xZRXg/видео.html
Wow.
maam sa may part po ng declaring amt po pag nag eenter na po ako ng quantitty 0 amount lang po lumalabas kahit 2 po nakalagay
Sorry ngayon ko lang nabasa comment. Okay na ba ngayon? If not, I want to look at the code sana. You can message me in my Facebook account.
@@kathrinadacanay8527 SAME PO MAAM SAKIN
Try ninyo gawing float ang data type ng qty, price and amt..
@@kathrinadacanay8527 maam okay na po
ask ko lang kung panoo po mag lagay ng real time and date po after order??
Ma'am what kind of compiler po gamit ninyo?
I use Code::Blocks application as editor which has a built-in compiler narin.
Maam may error po sa part ng do while,
Pag nag ni ra run ko po may lumalabas na main must not return 'int'
'Getch' was not declare in this scope
Dev c++ po na coder ginamit ko
hello po, sana masagot po agad. paano po magagawaan ng receipt ito? salamat po!
Can u help me with same equation pls?
what do you mean my same equation?
Hello maam is it okay if i ask you a question regarding the code because I added some new features to the code and the total amount is stacking even if the program entered a new loop. Sana po mabasa niyo
i do not know if i understand it right. you mean you wanted the total amount to be reset to zero amount?
@@kathrinadacanay8527 opo maam ganun na nga po.
I used For loop po kase before using the do-while loop that you did in the tutorial. I used For loop po para umulit yung buong program simula pinaka una every new customer.
if you wanted it to be reset, you have to initialize the total amount variable to zero before entering the new for loop meaning outside the new for loop.
like this:
totalamt=0; // reset to zero
for(....) {
}
@@kathrinadacanay8527 Thank you so much po maam and sobrang calming po ng voice niyo hehe
HI CAN I GET THE SOURCE CODE
hello po anong gamit nyo pong pang code po?
Code::Blocks
Ano data type ng amt, qty at price?
Please give this code
In my coding the getch will error😢
did you write:
getch();
or
ch=getch();
@@kathrinadacanay8527 nope
what code did you write?
Hello po sana po masagot niyo about kung paano mag order ng madami kunyari eh yung sampong products ang bibilhin , sobrang thank you po
You can do this by following the code I made. As long as the variable addAnother is equal to 'Y' or 'y' as shown in timestamp 11:10, you can continue ordering. And by choosing 'N' or 'n' for addAnother, the getting of order will stop and proceed to payment.
Name of complier
Codeblocks
Maam ..san po mahanap yang parang % at saka yung parang &?
You mean san mahahanap sa keyboard?
% is used as format specifier. & is used for the address of the variable, usually used in scanf function..
can you send the source code?
thank you
Codes koncham send cheyyada
just for my opinion this program has pagkukulangs
- what if wrong character ung napindot like instead of "y" pero mga any character na hinde y ung iniinput niya so sana mag ask siya to type the right char again
- what if kulang ung cash na nilagay
anyways, I'm still in a process of learning kaya ako andito. And sobrang detailed and understandble explanation mo po. Salamat poo 🙏🙏
i can do another video for input validation. for example enter a number but the user entered a character..
miss penge po mahingi yung file?
Source code please
Why I'm looping 😢😢 help me plsss
you can email me your source code so i could check. ktdacanay@gmail.com
devc++ po
hello teacher kathrina , how i can chat with you please? can you i have your email
kindly comment here your email and ill give you a pm. thanks.
What application po gamit nyo pang code?
Code::Blocks
Can I get the source code.