Write a C++ data structure program to perform following
operations on Array using switch case.
(Note: Make class
Use Switch case for menu
Create single dimension array dynamically)
1) Linear Search in Double Dimension Array
2) Check whether Double Dimension Array is Sparse Matrix or NOT
write a simple program in c++ to calculate the salary of an employee where by the basic salary will be entered by the user and other allowance as constant.
The following are the other allowance
1. dressing allowance 30% of basic
2. Fuel allowance 20% of basic
3. Maintenance allowance 30% of basic
4. SSNIT allowance 10% of basic
5. Rent allowance 40% of basic
Calculate your gross salary
Write a program to create a dynamic array of user defined size. Size should be in the range of 0 to 15. Write a function FindLarge that should ask user to enter a non-negative number. Function should find the next largest number than the input number in the list.
Write a program to create a dynamic array of user defined size. Array should be of character type. Write a function ChangeCase() that should convert all the small alphabets to capital and vice versa. All array operations should be done using pointers
Create a dynamic array of user defined size. Now take input in array from user. Take a new (integer) value from user and search that how many times the entered number is present in the array.
Write a C++ program to create two pointers of integer type, now take values in these pointers and pass them to a function. Function will update both the values by adding “1” to them. Display the updated values in main.
Using a Decision Control Structure (if), create a flowchart and a java program that
reads a commodity code, quantity of the commodities bought and the unit price and
output the amount to be paid by the customer.
Q: Explain in your own words that how we evaluate postfix expressions using stack
Write a C++ program that converts from meters to feet using type
conversion from built in type to class type (Create Feet class).
1 feet = 0.3 meter
If meter value is less then 30 throw an exception.
Store each value in receptive files, Meters.txt and Feet.txt and display
each value as per user selection.