c++ programs for chemical engineering

2013 C++ programs Gokul Kadam TKIET,Warananagar. 11/10/2013 INDEX Sr.No Name 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12.

Views 289 Downloads 6 File size 65KB

Report DMCA / Copyright

DOWNLOAD FILE

Recommend stories

Citation preview

2013 C++ programs

Gokul Kadam TKIET,Warananagar. 11/10/2013

INDEX Sr.No

Name

1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12.

Area and volume of sphere by using compound function Area and volume of sphere Area of triangle by using switch statement Area of triangle Average of n different numbers by using exit control loop Average of n numbers by using function. Bonus and balance Conversion of temperature Cube of a number by using function with argument and no return value. Factorial of a number by using function Factorial of a number by using recursive function. Finding roots of a quadratic equation by using function with argument and without return value. Finding square,cube ,sum of squares cubes in a tabular format. Finding the sum by using recursive function Finding the value of f by considering laminar or turbulent flow. Finding the volume of sphere by using function with argument and no return value. Gets puts function Maximum of three numbers by using function Maximum of three numbers(method 1) Maximum of three numbers(method 2) Sum of given number series. Program of setbase(manipulator function) Program of setfill(manipulator function) Program of setw(manipulator function) Program to perform mathematical operations Program to read the customer number and charges Roots of quadratic equation by using switch statement Program of regration Sum of 1 to 10 numbers except 5 Sum of 1 to 100 odd numbers by using function Sum of three numbers by using function Sum of two numbers Program of setprecision Sum of odd and even numbers from 1 to 100 by using compound function.

13. 14. 15. 16. 17. 18. 19. 20. 21. 22. 23. 24. 25. 26. 27. 28. 29. 30. 31. 32. 33. 34.

AREA AND VOLUME OF SPHERE BY USING COMPUND FUNCTION WITH ARGUMENT AND RETURN VALUE. #include #include int main() { float area(int r); int r; float z; clrscr(); z=area(r); cout