cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
please help to write the code to calcula
please help to write the code to calculate tax
Jul 8, 2014 at 6:42am UTC
DAISY12
(5)
define a structure employee with name, category , salary, tax as a member. read the name category and salary of employee and calculate the tax as below
categories
A 10% OF SALARY
B 15% OF SALARY
C 20% OF SALARY
OTHERS 30% OF SALARY
Last edited on
Jul 10, 2014 at 7:56pm UTC
Jul 8, 2014 at 6:59am UTC
Yay295
(431)
How to create a struct:
struct
<struct_name> { <var_type_1> <var_name_1>, <var_type_2> <var_name_2>...};
Topic archived. No new replies allowed.