<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2" -->
<rss version="2.0">
    <channel>
        <title>Lowyat.NET: Latest topics by Mochan</title>
        <description></description>
        <link>http://forum.lowyat.net/</link>
        <lastBuildDate>Sun, 07 Jun 2026 01:26:49 +0800</lastBuildDate>
        <generator>FeedCreator 1.7.2</generator>
        <item>
            <title>Car overheating?</title>
            <link>http://forum.lowyat.net/topic/5201659</link>
            <description>Hi, would like to know what&amp;#39;s the problem with my car before I bring it to a workshop tomorrow. &lt;br /&gt;&lt;br /&gt;My car engine suddenly stopped on an idle during traffic light last night, and it can&amp;#39;t be started immediately again, but after a few minutes later it can be started again. I opened the bonnet and there&amp;#39;s very hot air. &lt;br /&gt;&lt;br /&gt;After that when driving for a short while can feel the engine is going to stop again whenever my car is on idle.&lt;br /&gt;&lt;br /&gt;I searched around and it seems to be overheating problem?</description>
            <author>Mochan</author>
            <category>Serious Kopitiam</category>
            <pubDate>Sun, 03 Oct 2021 12:36:48 +0800</pubDate>
        </item>
        <item>
            <title>Product survey</title>
            <link>http://forum.lowyat.net/topic/5180036</link>
            <description>Hi everyone, I&amp;#39;m a student and I&amp;#39;m doing a survey for my university coursework. It&amp;#39;s a survey about how you feel about a particular product,&lt;br /&gt;in this case it&amp;#39;s about the Lenovo Thinkpad X1 Foldable. It&amp;#39;s quite a simple and short survey with 15 questions. Thanks in advance for taking the time to do this survey&amp;#33;&lt;br /&gt;&lt;br /&gt;&lt;a href='https://forms.gle/pFcACAaDoqbx2uTt8' target='_blank'&gt;https://forms.gle/pFcACAaDoqbx2uTt8&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;</description>
            <author>Mochan</author>
            <category>Serious Kopitiam</category>
            <pubDate>Sun, 08 Aug 2021 23:38:52 +0800</pubDate>
        </item>
        <item>
            <title>hnnnghh 3080 ti</title>
            <link>http://forum.lowyat.net/topic/5151155</link>
            <description>[twt]https://twitter.com/harukaze5719/status/1398197193228488706[/twt]&lt;br /&gt;&lt;br /&gt;&lt;a href='https://ibb.co/FWPm32z' target='_blank'&gt;&lt;img src='https://i.ibb.co/Qc5pQLM/E2dk4ri-VUAIz-Lap.jpg' border='0' alt='user posted image' /&gt;&lt;/a&gt;</description>
            <author>Mochan</author>
            <category>Kopitiam</category>
            <pubDate>Fri, 28 May 2021 22:13:08 +0800</pubDate>
        </item>
        <item>
            <title>Is there companies in Malaysia that allow sleeping</title>
            <link>http://forum.lowyat.net/topic/5107415</link>
            <description>For example this japanese company at 9:50 in video&lt;br /&gt;&lt;br /&gt;[YOUTUBE]e_TxH59MclA[/YOUTUBE]</description>
            <author>Mochan</author>
            <category>Kopitiam</category>
            <pubDate>Tue, 23 Feb 2021 15:09:20 +0800</pubDate>
        </item>
        <item>
            <title>Kingdom Hearts coming to PC</title>
            <link>http://forum.lowyat.net/topic/5102389</link>
            <description>[twt]https://twitter.com/KINGDOMHEARTS/status/1359947814902640643[/twt]</description>
            <author>Mochan</author>
            <category>Kopitiam</category>
            <pubDate>Fri, 12 Feb 2021 14:22:23 +0800</pubDate>
        </item>
        <item>
            <title>MKBHD&amp;#39;s phone of the year is..</title>
            <link>http://forum.lowyat.net/topic/5077372</link>
            <description>&lt;img src='https://i.ibb.co/F0XzBtj/1.jpg' border='0' alt='user posted image' /&gt;&lt;br /&gt;&lt;br /&gt;[youtube]e6_t26Q9aVM[/youtube]&lt;br /&gt;</description>
            <author>Mochan</author>
            <category>Kopitiam</category>
            <pubDate>Thu, 24 Dec 2020 22:06:29 +0800</pubDate>
        </item>
        <item>
            <title>Husband cooking for wife&amp;#39;s colleague</title>
            <link>http://forum.lowyat.net/topic/5073821</link>
            <description>Any married guys on /k cook for wife?&lt;br /&gt;&lt;br /&gt;[youtube]3HeGP7z7s1U[/youtube]</description>
            <author>Mochan</author>
            <category>Kopitiam</category>
            <pubDate>Thu, 17 Dec 2020 13:12:22 +0800</pubDate>
        </item>
        <item>
            <title>What to buy rm60 discount on lazada 12.12?</title>
            <link>http://forum.lowyat.net/topic/5068103</link>
            <description>&lt;img src='https://i.ibb.co/wCfssCZ/Smart-Select-20201205-143959-Lazada.jpg' border='0' alt='user posted image' /&gt;</description>
            <author>Mochan</author>
            <category>Kopitiam</category>
            <pubDate>Sat, 05 Dec 2020 14:45:58 +0800</pubDate>
        </item>
        <item>
            <title>Joe Biden called Trump George Bush&amp;#33;</title>
            <link>http://forum.lowyat.net/topic/5047991</link>
            <description>[youtube]9EMq42gdJQM[/youtube]&lt;br /&gt;[twt]https://twitter.com/realDonaldTrump/status/1320689314506964997[/twt]</description>
            <author>Mochan</author>
            <category>Kopitiam</category>
            <pubDate>Mon, 26 Oct 2020 20:16:53 +0800</pubDate>
        </item>
        <item>
            <title>iPhone 12 won&amp;#39;t include charger &amp;amp; earphone in box</title>
            <link>http://forum.lowyat.net/topic/4988529</link>
            <description>&lt;a href='https://www.macrumors.com/2020/06/28/kuo-no-charger-in-iphone-12-box/' target='_blank'&gt;https://www.macrumors.com/2020/06/28/kuo-no...-iphone-12-box/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src='https://i.imgur.com/zzH5F5f.jpg' border='0' alt='user posted image' /&gt;</description>
            <author>Mochan</author>
            <category>Kopitiam</category>
            <pubDate>Tue, 30 Jun 2020 18:22:45 +0800</pubDate>
        </item>
        <item>
            <title>Pokemon moba announced</title>
            <link>http://forum.lowyat.net/topic/4985391</link>
            <description>[youtube]dgWeEGBbJDQ[/youtube]&lt;br /&gt;&lt;br /&gt;&lt;img src='https://cdn.vox-cdn.com/thumbor/Nxm94jCQrA64Y1RCnt3ZopuW-gQ=/0x0:2462x1298/920x0/filters:focal(0x0:2462x1298):format(webp):no_upscale()/cdn.vox-cdn.com/uploads/chorus_asset/file/20050622/screen_shot_2020_06_24_at_9.05.16_am.png' border='0' alt='user posted image' /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src='https://cdn.vox-cdn.com/thumbor/wukHxP5YA-wSUweD48DjLQBJ79Y=/0x0:2470x1386/920x0/filters:focal(0x0:2470x1386):format(webp):no_upscale()/cdn.vox-cdn.com/uploads/chorus_asset/file/20050624/screen_shot_2020_06_24_at_9.08.05_am.png' border='0' alt='user posted image' /&gt;</description>
            <author>Mochan</author>
            <category>Kopitiam</category>
            <pubDate>Wed, 24 Jun 2020 21:50:50 +0800</pubDate>
        </item>
        <item>
            <title>Digimon reboot</title>
            <link>http://forum.lowyat.net/topic/4918274</link>
            <description>Taichi become small again?&lt;br /&gt;&lt;br /&gt;[youtube]HW4rHohJexY[/youtube]</description>
            <author>Mochan</author>
            <category>Kopitiam</category>
            <pubDate>Fri, 06 Mar 2020 16:23:26 +0800</pubDate>
        </item>
        <item>
            <title>Continue work vs study</title>
            <link>http://forum.lowyat.net/topic/4577668</link>
            <description>Hi, I&amp;#39;m currently 27 years old, never went to college and started working after SPM until now and wondering if I should go to college and get a diploma at least? Probably in business course like accounting. Have been doing basic office jobs like data entry and admin and getting around RM2k every month.</description>
            <author>Mochan</author>
            <category>Serious Kopitiam</category>
            <pubDate>Mon, 07 May 2018 02:33:28 +0800</pubDate>
        </item>
        <item>
            <title>HTC M9 in stock @ directd</title>
            <link>http://forum.lowyat.net/topic/3536165</link>
            <description>&lt;!--emo&amp;:hehe:--&gt;&lt;img src='http://static.lowyat.net/style_emoticons/default/brows.gif' border='0' style='vertical-align:middle' alt='brows.gif' /&gt;&lt;!--endemo--&gt; &lt;br /&gt;&lt;br /&gt;&lt;a href='http://www.lelong.com.my/htc-one-m9-latest-model-ready-stock-gold-grey-directd-I2094075-2007-01-Sale-I.htm' target='_blank'&gt;http://www.lelong.com.my/htc-one-m9-latest...7-01-Sale-I.htm&lt;/a&gt; &lt;br /&gt;&lt;br /&gt;&lt;img src='http://i.imgur.com/puVJJQ5.jpg' border='0' alt='user posted image' /&gt;</description>
            <author>Mochan</author>
            <category>The Museum Of Kopitiam</category>
            <pubDate>Sat, 28 Mar 2015 21:45:34 +0800</pubDate>
        </item>
        <item>
            <title>S6 Edge</title>
            <link>http://forum.lowyat.net/topic/3509007</link>
            <description>&lt;a href='http://www.phonearena.com/news/Samsung-Galaxy-S6-Edge-alleged-official-press-photos-surface_id66511' target='_blank'&gt;http://www.phonearena.com/news/Samsung-Gal...surface_id66511&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src='http://i.imgur.com/PmDul61.jpg' border='0' alt='user posted image' /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src='http://i.imgur.com/kpa7AL4.jpg' border='0' alt='user posted image' /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src='http://i.imgur.com/dp1NXwl.jpg' border='0' alt='user posted image' /&gt;</description>
            <author>Mochan</author>
            <category>The Museum Of Kopitiam</category>
            <pubDate>Fri, 27 Feb 2015 23:53:08 +0800</pubDate>
        </item>
        <item>
            <title>Playstation Experience</title>
            <link>http://forum.lowyat.net/topic/3433199</link>
            <description>&lt;img src='http://i.imgur.com/YPbqbZW.jpg' border='0' alt='user posted image' /&gt;&lt;br /&gt;&lt;br /&gt;Showing new PS games, starts in 10 minutes &lt;br /&gt;&lt;a href='http://www.twitch.tv/playstation' target='_blank'&gt;http://www.twitch.tv/playstation&lt;/a&gt;</description>
            <author>Mochan</author>
            <category>The Museum Of Kopitiam</category>
            <pubDate>Sun, 07 Dec 2014 01:50:37 +0800</pubDate>
        </item>
        <item>
            <title>Question on Public Bank account</title>
            <link>http://forum.lowyat.net/topic/2316313</link>
            <description>I have not made any activities (transactions etc) for my Public Bank account for nearly 3 years, if someone want to deposit to my account will it work?</description>
            <author>Mochan</author>
            <category>Serious Kopitiam</category>
            <pubDate>Sat, 21 Apr 2012 21:50:56 +0800</pubDate>
        </item>
        <item>
            <title>Date combobox</title>
            <link>http://forum.lowyat.net/topic/1967105</link>
            <description>I have 3 ComboBox&amp;#39;s. 1 for the date, 1 for the month and 1 for the year. Once the user has selected three of them, I get the selected item from each of the boxes by using the .getSeletedItem method. I want to be able to join all the values together into a string, what&amp;#39;s the best way to do this?</description>
            <author>Mochan</author>
            <category>Codemasters</category>
            <pubDate>Thu, 21 Jul 2011 18:43:27 +0800</pubDate>
        </item>
        <item>
            <title>New speakers</title>
            <link>http://forum.lowyat.net/topic/1133825</link>
            <description>Hi people I&amp;#39;m currently using Edifier R401 and looking for a new speakers.. Seems like there are alot of S330 fans here so I&amp;#39;m planning to get it and just want to ask will there be any performace gain from R401?</description>
            <author>Mochan</author>
            <category>Audiophiles</category>
            <pubDate>Tue, 18 Aug 2009 00:15:43 +0800</pubDate>
        </item>
        <item>
            <title>Need help with C</title>
            <link>http://forum.lowyat.net/topic/1121785</link>
            <description>I&amp;#39;m doing a program that is a service used in a cyber cafe for customers.. and I&amp;#39;m having trouble in doing the input validations, like if the customer chose the option that is not in the menu the program will ask the customer to re-enter again. Hope someone can guide me&lt;br /&gt;&lt;!--SPOILER BEGIN--&gt;&lt;div class=&quot;spoilertop&quot; onClick=&quot;openClose('6537e62dcf995acea3a27a8b6694e7d0')&quot; style=&quot;font-weight: bold&quot;&gt;&lt;u&gt;&amp;raquo; Click to show Spoiler - click again to hide... &amp;laquo;&lt;/u&gt;&lt;/div&gt;&lt;div class=&quot;spoilermain&quot; id=&quot;6537e62dcf995acea3a27a8b6694e7d0&quot; style=&quot;display:none&quot;&gt;&lt;!--SPOILER END--&gt;#include &amp;lt;stdio.h&amp;gt;&lt;br /&gt;#define BLACK_WHITE 0.50&lt;br /&gt;#define COLOR 1.50&lt;br /&gt;#define SCANS 3.00&lt;br /&gt;#define FAX 1.00&lt;br /&gt;#define Set_A 7.50&lt;br /&gt;#define Set_B 8.00&lt;br /&gt;#define Sandwich 3.00&lt;br /&gt;#define Coke 2.00&lt;br /&gt;#define Mineral_water 1.50&lt;br /&gt;&lt;br /&gt;void main()&lt;br /&gt;{	&lt;br /&gt;	char service,ismember,member,membership,member_code;&lt;br /&gt;	int menu,page,quantity_set_a,quantity_set_b,quantity_sandwich,quantity_coke,quantity_mineral_water;&lt;br /&gt;	double charge,discount_rate1,discount_rate2,discount1,discount2,payable,set_a,set_b,sandwich,coke,mineral_water,subtotal,total,final_charge;&lt;br /&gt;&lt;br /&gt;	do&lt;br /&gt;	{&lt;br /&gt;		printf(&amp;quot;&amp;#092;t&amp;#092;t===============================================&amp;#092;n&amp;quot;);&lt;br /&gt;		printf(&amp;quot;&amp;#092;t&amp;#092;t&amp;#092;tWELCOME&amp;#092;n&amp;quot;);&lt;br /&gt;		printf(&amp;quot;&amp;#092;t&amp;#092;t===============================================&amp;#092;n&amp;quot;);&lt;br /&gt;		printf(&amp;quot;&amp;#092;t&amp;#092;t1. Printing, Scanning and Fax&amp;#092;n&amp;quot;);&lt;br /&gt;		printf(&amp;quot;&amp;#092;t&amp;#092;t2. Food &amp;amp; Beverage&amp;#092;n&amp;quot;);&lt;br /&gt;		printf(&amp;quot;&amp;#092;t&amp;#092;t3. Receipt&amp;#092;n&amp;quot;);&lt;br /&gt;		printf(&amp;quot;&amp;#092;t&amp;#092;t4. Exit&amp;#092;n&amp;quot;);&lt;br /&gt;		scanf(&amp;quot;%d&amp;quot;,&amp;amp;menu);&lt;br /&gt;&lt;br /&gt;	if (menu == 1)&lt;br /&gt;	{&lt;br /&gt;		printf(&amp;quot;&amp;#092;t&amp;#092;tPRINTING AND SCANNING&amp;#092;n&amp;quot;);&lt;br /&gt;		printf(&amp;quot;&amp;#092;t&amp;#092;t-------------------&amp;#092;t&amp;#092;t---------------&amp;#092;n&amp;quot;);&lt;br /&gt;		printf(&amp;quot;&amp;#092;t&amp;#092;tService Type&amp;#092;t&amp;#092;t&amp;#092;tCharge&amp;#092;n&amp;quot;);&lt;br /&gt;		printf(&amp;quot;&amp;#092;t&amp;#092;t-------------------&amp;#092;t&amp;#092;t---------------&amp;#092;n&amp;quot;);&lt;br /&gt;		printf(&amp;quot;&amp;#092;t&amp;#092;tBlack and White Prints&amp;#092;t&amp;#092;tRM0.50 per page&amp;#092;n&amp;quot;);&lt;br /&gt;		printf(&amp;quot;&amp;#092;t&amp;#092;tColor Prints&amp;#092;t&amp;#092;t&amp;#092;tRM1.50 per page&amp;#092;n&amp;quot;);&lt;br /&gt;		printf(&amp;quot;&amp;#092;t&amp;#092;tScans&amp;#092;t&amp;#092;t&amp;#092;t&amp;#092;tRM3.00 per page&amp;#092;n&amp;quot;);&lt;br /&gt;		printf(&amp;quot;&amp;#092;t&amp;#092;tFax&amp;#092;t&amp;#092;t&amp;#092;t&amp;#092;tRM1.00 per page&amp;#092;n&amp;quot;);&lt;br /&gt;		printf(&amp;quot;&amp;#092;t&amp;#092;t-----------------------------------------------&amp;#092;n&amp;quot;);&lt;br /&gt;		printf(&amp;quot;&amp;#092;t&amp;#092;t&amp;#092;t==============================&amp;#092;n&amp;quot;);&lt;br /&gt;		printf(&amp;quot;&amp;#092;t&amp;#092;t&amp;#092;t&amp;#092;t   DISCOUNT&amp;#092;n&amp;quot;);&lt;br /&gt;		printf(&amp;quot;&amp;#092;t&amp;#092;t&amp;#092;t==============================&amp;#092;n&amp;quot;);&lt;br /&gt;		printf(&amp;quot;&amp;#092;t&amp;#092;t&amp;#092;tPlatinum Class member&amp;#092;t= 20%%&amp;#092;n&amp;quot;);&lt;br /&gt;		printf(&amp;quot;&amp;#092;t&amp;#092;t&amp;#092;tGold Class member&amp;#092;t= 10%%&amp;#092;n&amp;quot;);&lt;br /&gt;		printf(&amp;quot;&amp;#092;t&amp;#092;t&amp;#092;t------------------------------&amp;#092;n&amp;#092;n&amp;quot;);&lt;br /&gt;		printf(&amp;quot;Select customer&amp;#39;s type of service:&amp;#092;nA = Black and White Prints&amp;#092;nB = Color Prints&amp;#092;nC = Scans&amp;#092;nD = Fax&amp;#092;n&amp;gt; &amp;quot;);&lt;br /&gt;		scanf(&amp;quot; %c&amp;quot;, &amp;amp;service);&lt;br /&gt;		printf(&amp;quot;Enter the number of pages&amp;gt; &amp;quot;);&lt;br /&gt;		scanf(&amp;quot;%d&amp;quot;, &amp;amp;page);&lt;br /&gt;		printf(&amp;quot;&amp;#092;nIs customer a member? (Y/N)&amp;gt; &amp;quot;);&lt;br /&gt;		scanf(&amp;quot; %c&amp;quot;, &amp;amp;ismember);&lt;br /&gt;&lt;br /&gt;	if (ismember == &amp;#39;Y&amp;#39; || ismember == &amp;#39;y&amp;#39;)&lt;br /&gt;	{&lt;br /&gt;		printf(&amp;quot;&amp;#092;nEnter customer&amp;#39;s member type:&amp;#092;n[G = Gold Class, P = Platinum Class] &amp;gt; &amp;quot;);&lt;br /&gt;		scanf(&amp;quot; %c&amp;quot;, &amp;amp;member);&lt;br /&gt;		if (member == &amp;#39;P&amp;#39; || member == &amp;#39;p&amp;#39;)&lt;br /&gt;			discount_rate1 = 0.20;&lt;br /&gt;		else if (member == &amp;#39;G&amp;#39; || member == &amp;#39;g&amp;#39;)&lt;br /&gt;			discount_rate1 = 0.10;&lt;br /&gt;	}&lt;br /&gt;	else&lt;br /&gt;		discount_rate1 = 0.00;&lt;br /&gt;	if (service == &amp;#39;A&amp;#39; || service == &amp;#39;a&amp;#39;)&lt;br /&gt;		charge = BLACK_WHITE * page;	&lt;br /&gt;	else if (service == &amp;#39;B&amp;#39; || service == &amp;#39;b&amp;#39;)&lt;br /&gt;		charge = COLOR * page;&lt;br /&gt;	else if (service == &amp;#39;C&amp;#39; || service == &amp;#39;c&amp;#39;)&lt;br /&gt;		charge = SCANS * page;&lt;br /&gt;	else if (service == &amp;#39;D&amp;#39; || service == &amp;#39;d&amp;#39;)&lt;br /&gt;		charge = FAX * page;&lt;br /&gt;	}&lt;br /&gt;&lt;br /&gt;	else if (menu == 2)&lt;br /&gt;	{&lt;br /&gt;		printf(&amp;quot;&amp;#092;t&amp;#092;t&amp;#092;t--------------&amp;#092;n&amp;quot;);&lt;br /&gt;		printf(&amp;quot;&amp;#092;t&amp;#092;t&amp;#092;t F&amp;amp;B&amp;#092;t&amp;#092;tPrices&amp;#092;n&amp;quot;);&lt;br /&gt;		printf(&amp;quot;&amp;#092;t&amp;#092;t&amp;#092;t*********************************&amp;#092;n&amp;quot;);&lt;br /&gt;		printf(&amp;quot;&amp;#092;t&amp;#092;t&amp;#092;t* Set_A&amp;#092;t&amp;#092;tRM7.50&amp;#092;t&amp;#092;t*&amp;#092;n&amp;quot;);&lt;br /&gt;		printf(&amp;quot;&amp;#092;t&amp;#092;t&amp;#092;t* Set_B&amp;#092;t&amp;#092;tRM8.00&amp;#092;t&amp;#092;t*&amp;#092;n&amp;quot;);&lt;br /&gt;		printf(&amp;quot;&amp;#092;t&amp;#092;t&amp;#092;t* Sandwich&amp;#092;tRM3.00&amp;#092;t&amp;#092;t*&amp;#092;n&amp;quot;);&lt;br /&gt;		printf(&amp;quot;&amp;#092;t&amp;#092;t&amp;#092;t* Coke&amp;#092;t&amp;#092;tRM2.00&amp;#092;t&amp;#092;t*&amp;#092;n&amp;quot;);&lt;br /&gt;		printf(&amp;quot;&amp;#092;t&amp;#092;t&amp;#092;t* Mineral_Water&amp;#092;tRM1.50&amp;#092;t&amp;#092;t*&amp;#092;n&amp;quot;);&lt;br /&gt;		printf(&amp;quot;&amp;#092;t&amp;#092;t&amp;#092;t*********************************&amp;#092;n&amp;quot;);&lt;br /&gt;		printf(&amp;quot;Are you a member? [YES=Y , NO=N] &amp;gt; &amp;quot;);&lt;br /&gt;		scanf(&amp;quot; %c&amp;quot;,&amp;amp;membership);&lt;br /&gt;&lt;br /&gt;		switch (membership)&lt;br /&gt;		{	&lt;br /&gt;			case &amp;#39;Y&amp;#39;:&lt;br /&gt;			case &amp;#39;y&amp;#39;:&lt;br /&gt;				&lt;br /&gt;				printf(&amp;quot;Please enter your membership type [Gold=G,Platinum=P] &amp;gt; &amp;quot;);&lt;br /&gt;				scanf(&amp;quot;%s&amp;quot;,&amp;amp;member_code);&lt;br /&gt;&lt;br /&gt;				if (member_code == &amp;#39;G&amp;#39;|| member_code == &amp;#39;g&amp;#39;)&lt;br /&gt;					discount_rate2 = 0.05;&lt;br /&gt;				else if (member_code == &amp;#39;P&amp;#39;|| member_code == &amp;#39;p&amp;#39;)&lt;br /&gt;					discount_rate2 = 0.10;&lt;br /&gt;				break;&lt;br /&gt;&lt;br /&gt;			default:&lt;br /&gt;				discount_rate2 = 0;&lt;br /&gt;		}&lt;br /&gt;&lt;br /&gt;	//Quantities of Set Lunch A &lt;br /&gt;	printf(&amp;quot;&amp;#092;nSet Lunch A&amp;#092;t: &amp;quot;);&lt;br /&gt;	scanf(&amp;quot;%d&amp;quot;,&amp;amp;quantity_set_a);&lt;br /&gt;&lt;br /&gt;	//Quantities of Set Lunch B&lt;br /&gt;	printf(&amp;quot;Set Lunch B&amp;#092;t: &amp;quot;);&lt;br /&gt;	scanf(&amp;quot;%d&amp;quot;,&amp;amp;quantity_set_b);&lt;br /&gt;&lt;br /&gt;	//Quantities of Sandwich&lt;br /&gt;	printf(&amp;quot;Sandwich&amp;#092;t: &amp;quot;);&lt;br /&gt;	scanf(&amp;quot;%d&amp;quot;,&amp;amp;quantity_sandwich);&lt;br /&gt;&lt;br /&gt;	//Quantities of Coke&lt;br /&gt;	printf(&amp;quot;Coke&amp;#092;t&amp;#092;t: &amp;quot;);&lt;br /&gt;	scanf(&amp;quot;%d&amp;quot;,&amp;amp;quantity_coke);&lt;br /&gt;&lt;br /&gt;	//Quantities of Mineral water&lt;br /&gt;	printf(&amp;quot;Mineral Water&amp;#092;t: &amp;quot;);&lt;br /&gt;	scanf(&amp;quot;%d&amp;quot;,&amp;amp;quantity_mineral_water);&lt;br /&gt;&lt;br /&gt;	discount1 = charge * discount_rate1;&lt;br /&gt;	payable = charge - discount1;&lt;br /&gt;	set_a = Set_A * quantity_set_a;&lt;br /&gt;	set_b = Set_B * quantity_set_b;&lt;br /&gt;	sandwich = Sandwich * quantity_sandwich;&lt;br /&gt;	coke = Coke * quantity_coke;&lt;br /&gt;	mineral_water = Mineral_water * quantity_mineral_water;&lt;br /&gt;	subtotal = set_a + set_b + sandwich + coke + mineral_water;&lt;br /&gt;	discount2 = subtotal * discount_rate2;&lt;br /&gt;	total = subtotal - discount2;&lt;br /&gt;	final_charge = total + payable;&lt;br /&gt;	}&lt;br /&gt;&lt;br /&gt;	else if (menu == 3)&lt;br /&gt;	{&lt;br /&gt;			printf(&amp;quot;PRINTING AND SCANNING&amp;#092;n&amp;quot;);&lt;br /&gt;			printf(&amp;quot;&amp;#092;n&amp;#092;t&amp;#092;t&amp;#092;t----------------------------------&amp;#092;n&amp;quot;);&lt;br /&gt;			printf(&amp;quot;&amp;#092;t&amp;#092;t&amp;#092;t The charges are:&amp;#092;t   RM%.2lf&amp;#092;n&amp;quot;, charge);&lt;br /&gt;			printf(&amp;quot;&amp;#092;t&amp;#092;t&amp;#092;t The discount given is:    RM%.2lf&amp;#092;n&amp;quot;, discount1);&lt;br /&gt;			printf(&amp;quot;&amp;#092;t&amp;#092;t&amp;#092;t----------------------------------&amp;#092;n&amp;#092;n&amp;quot;);&lt;br /&gt;			printf(&amp;quot;&amp;#092;t&amp;#092;t&amp;#092;t The total is:&amp;#092;t&amp;#092;t   RM%.2lf&amp;#092;n&amp;quot;, payable);&lt;br /&gt;			printf(&amp;quot;&amp;#092;t&amp;#092;t&amp;#092;t----------------------------------&amp;#092;n&amp;quot;);&lt;br /&gt;			printf(&amp;quot;FOOD AND BAVERAGES&amp;#092;n&amp;quot;);&lt;br /&gt;			printf(&amp;quot;&amp;#092;n&amp;#092;t=================================================================&amp;#092;n&amp;quot;);&lt;br /&gt;			printf(&amp;quot;&amp;#092;t* Qty&amp;#092;tMenu&amp;#092;t&amp;#092;tCharge&amp;#092;t&amp;#092;t&amp;#092;tSubtotal&amp;#092;t*&amp;#092;n&amp;quot;);&lt;br /&gt;			printf(&amp;quot;&amp;#092;t* ===&amp;#092;t====&amp;#092;t&amp;#092;t======&amp;#092;t&amp;#092;t&amp;#092;t=======&amp;#092;t&amp;#092;t*&amp;#092;n&amp;quot;);&lt;br /&gt;			printf(&amp;quot;&amp;#092;t* %3d&amp;#092;tSET LUNCH A&amp;#092;tRM%5.2f&amp;#092;t&amp;#092;t&amp;#092;tRM%5.2f&amp;#092;t&amp;#092;t*&amp;#092;n&amp;quot;,quantity_set_a,Set_A,set_a);&lt;br /&gt;			printf(&amp;quot;&amp;#092;t* %3d&amp;#092;tSET LUNCH B&amp;#092;tRM%5.2f&amp;#092;t&amp;#092;t&amp;#092;tRM%5.2f&amp;#092;t&amp;#092;t*&amp;#092;n&amp;quot;,quantity_set_b,Set_B,set_b);&lt;br /&gt;			printf(&amp;quot;&amp;#092;t* %3d&amp;#092;tSANDWICH&amp;#092;tRM%5.2f&amp;#092;t&amp;#092;t&amp;#092;tRM%5.2f&amp;#092;t&amp;#092;t*&amp;#092;n&amp;quot;,quantity_sandwich,Sandwich,sandwich);&lt;br /&gt;			printf(&amp;quot;&amp;#092;t* %3d&amp;#092;tCOKE&amp;#092;t&amp;#092;tRM%5.2f&amp;#092;t&amp;#092;t&amp;#092;tRM%5.2f&amp;#092;t&amp;#092;t*&amp;#092;n&amp;quot;,quantity_coke,Coke,coke);&lt;br /&gt;			printf(&amp;quot;&amp;#092;t* %3d&amp;#092;tMINERAL WATER&amp;#092;tRM%5.2f&amp;#092;t&amp;#092;t&amp;#092;tRM%5.2f&amp;#092;t&amp;#092;t*&amp;quot;,quantity_mineral_water,Mineral_water,mineral_water);&lt;br /&gt;			printf(&amp;quot;&amp;#092;n&amp;#092;t=================================================================&amp;#092;n&amp;quot;);&lt;br /&gt;			printf(&amp;quot;&amp;#092;nSubtotal&amp;#092;t: RM%5.2lf&amp;quot;,subtotal);&lt;br /&gt;			printf(&amp;quot;&amp;#092;nDiscount Given&amp;#092;t: RM%5.2lf&amp;quot;,discount2);&lt;br /&gt;			printf(&amp;quot;&amp;#092;nTotal&amp;#092;t&amp;#092;t: RM%5.2lf&amp;#092;n&amp;quot;,total);&lt;br /&gt;			printf(&amp;quot;======================================&amp;#092;n&amp;quot;);&lt;br /&gt;			printf(&amp;quot;The total amount of payable is RM%.2lf&amp;#092;n&amp;quot;,final_charge);&lt;br /&gt;			printf(&amp;quot;======================================&amp;#092;n&amp;quot;);&lt;br /&gt;	}&lt;br /&gt;	else if (menu == 4)&lt;br /&gt;		return;&lt;br /&gt;&lt;br /&gt;		}while (menu&amp;#33;=0);&lt;br /&gt;}&lt;!--SPOILER DIV--&gt;&lt;/div&gt;&lt;!--SPOILER DIV--&gt;</description>
            <author>Mochan</author>
            <category>Codemasters</category>
            <pubDate>Fri, 07 Aug 2009 00:22:20 +0800</pubDate>
        </item>
    </channel>
</rss>
