Unit
Replies to this thread:
More by Unit
What people are reading
Subscribers
Please log in to subscribe to Unit's postings.
:: Subscribe
|
[VIEWED 4536
TIMES]
|
SAVE! for ease of future access.
|
|
|
Unit
Please log in to subscribe to Unit's postings.
Posted on 06-20-06 7:59
PM
Reply
[Subscribe]
|
Login in to Rate this Post:
0
?
|
|
Is there any one who can help on C programming? This my first program class and i am having really hard time understanding it. would you guys PLEASE help me out? here is the question. A company pays its employees as managers (who receive a fised weekly salary), hourly workers (who receive a fixed hourly wage for up to the first 40 hrs they work and time and half for overtime hrs), commision workers(who receive a $250 olus 5.7% of their gross weekly sales), or pieceworkers(who receive a fixed amount of one type of item). write a program to compute the weekely 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 code 2, commission workers have code 3 and pieceworkers have code 4. Use a "SWITCH" to compute each employee's pay based on tha employee;s paycode. within the "SWITCH", prompt the user(i.e the payroll clerk) to enter the appropriate facts your program needs to calculate each employee's pay based on that employee's paycode. (your program must use loop)
|
|
|
|
sly_evil
Please log in to subscribe to sly_evil's postings.
Posted on 06-20-06 8:55
PM
Reply
[Subscribe]
|
Login in to Rate this Post:
0
?
|
|
afu ta choreera pass bhako yaar ....
|
|
|
damadol
Please log in to subscribe to damadol's postings.
Posted on 06-21-06 1:09
AM
Reply
[Subscribe]
|
Login in to Rate this Post:
0
?
|
|
esactly like in the question says use SWITCH in the SWITCH create several CASE as many as you need assign some variable to each case so that when a user input "pay code" the programe uses that particular code/case in side each case write formula that computes the payrole. It is simple you just need to know how to use SWITCH, I am guessing that you already have a good knowledge of condition i mean using if... else... Happy coding...
|
|
Please Log in! to be able to reply! If you don't have a login, please register here.
YOU CAN ALSO
IN ORDER TO POST!
Within last 365 days
Recommended Popular Threads |
Controvertial Threads |
Conservative discussions |
TPS Re-registration case still pending .. |
TPS for Nepal likely to extend next week |
सालीको चाक |
ChatSansar.com Naya Nepal Chat |
TPS for Venezuela is terminated, only 60 days extension for transition period |
Venezuela TPS lawuit |
Toilet paper or water? |
TPS EAD auto extended to June 2025 or just TPS? |
tesla stock OMG !! |
Those who are in TPS, what’s your backup plan? |
Biden out, Trump next president, so what’s gonna happen to TPS, termination? |
Homeland Security revokes temporary status for 532,000 Cubans, Haitians, Nicaraguans and Venezuelans |
I hope all the fake Nepali refugee get deported |
Court Hearing Approval. |
Has anyone here successfully reinstated to F-1 status after a year-long gap following a drop from F-1? |
and it begins - on Day 1 Trump will begin operations to deport millions of undocumented immigrants |
From Trump “I will revoke TPS, and deport them back to their country.” |
Tourist Visa - Seeking Suggestions and Guidance |
Anybody gotten the TPS EAD extension alert notice (i797) thing? online or via post? |
|
Looking for girl |
Who is hottest nepali female? |
|
NOTE: The opinions
here represent the opinions of the individual posters, and not of Sajha.com.
It is not possible for sajha.com to monitor all the postings, since sajha.com merely seeks to provide a cyber location for discussing ideas and concerns related to Nepal and the Nepalis. Please send an email to admin@sajha.com using a valid email address
if you want any posting to be considered for deletion. Your request will be
handled on a one to one basis. Sajha.com is a service please don't abuse it.
- Thanks.
|