<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2" -->
<rss version="2.0">
    <channel>
        <title>Lowyat.NET: Latest topics by cicahpabo</title>
        <description></description>
        <link>http://forum.lowyat.net/</link>
        <lastBuildDate>Mon, 26 Oct 2026 12:01:28 +0800</lastBuildDate>
        <generator>FeedCreator 1.7.2</generator>
        <item>
            <title>C Programming assignment .. help needed</title>
            <link>http://forum.lowyat.net/topic/270543</link>
            <description>[&lt;!--emo&amp;B]--&gt;&lt;img src='http://static.lowyat.net/style_emoticons/default/cool.gif' border='0' style='vertical-align:middle' alt='cool.gif' /&gt;&lt;!--endemo--&gt;[FONT=Courier][COLOR=blue]&lt;br /&gt;Hi guys, I have some trouble with my C programming.&lt;br /&gt;Do give me some hints about it, okay ? thanks...&lt;br /&gt;&lt;br /&gt;Overview&lt;br /&gt;&lt;br /&gt;&amp;gt; Programs written in C programming language can be done using only 3 control structure. Before any programs written using C programming language. it is important to have an algotithm to plan the flow of the program to avoid logic error.&lt;br /&gt;&lt;br /&gt;Question&lt;br /&gt;&lt;br /&gt;&amp;gt; A company pays it employees as managers (who received a fixed weekly salary), hours workers (who receive a fixed wage for up the first 40 hours they work and &amp;quot;time-and-a-half,&amp;quot; ie. 1.5 times their hourly wage, for overtime hours worked), commission workers(who received a &amp;#036;250 plus 5.7 of their gross weekly sales), or pieceworker in the company works on only one type of them). Write a program to compute the weekly pay for each employee. You do not know the number of employees in advance. each type of employee has its own pay code: Managers have paycode 1, hourly workers have paycode 2, commission workers have code 3 and piece workers hace code 4. Use switch to compute each employees&amp;#39;a pay based on that employee&amp;#39;s paycode. Whthin the switch, prompt the user (i.e. the payroll clerk) to enter the appropiete facts your program needs to calculate each employee&amp;#39;s pay based on that employee&amp;#39;s paycode).&lt;br /&gt;&lt;br /&gt;The program&amp;#39;s cource code must have the following :&lt;br /&gt;.printf and scanf statement&lt;br /&gt;.secquence structure&lt;br /&gt;.selection struecture (switch)&lt;br /&gt;.Repetition structure&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;gt;&amp;gt;&lt;br /&gt;Thanks a lot and this is the urgent post as I need to finish it in 2 days.&lt;br /&gt;&lt;br /&gt;Many thanks again.&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;cicahpabo</description>
            <author>cicahpabo</author>
            <category>Codemasters</category>
            <pubDate>Fri, 31 Mar 2006 16:07:20 +0800</pubDate>
        </item>
    </channel>
</rss>
