Write a function to add two 1D array elements. Use call by reference and return the sum array elements to the main function to print.
As there is lock down everywhere, and the time allocated for shopping is restricted, Mr. Umar
goes for shopping in the specified time, He went to vegetable super market, He purchased some
vegetables and fruits the total bill was “m” Rs. and he got a discount of 10% there. Next he went
to Buy n Save shop and purchased the groceries and the bill amount generated there was “n” Rs
and here he got a discount of 12.5%. Later he went to buy medicine and there the bill was “p”
Rs. and there also he got a discount of 18%.
His mother asked the bill details and the total amount he spent today. Help to create a C
application for the same.
Requirements.
1. Capture the bill m,n,p
2. Compute the amount paid at individual place after discount
3. Display the bill amount paid at each place
4. Calculate the total amount spent
5. Display the total amount spent by Mr. Umar
Write a C program to copy one string to another without using string manipualtion fucntion
Mr. Nuthan M S is given the task to maintain the details of the class teacher of his section, the
details includes, Name of the faculty(String), employee ID(integer), Experience(int), Course
handled(String). Help Mr. Nuthan to maintain the record by generating a C application.
Write an interactive C program for “BCA Student Semester-End Results” which
prompts the user with the following menu options on the opening menu and
performs the corresponding functionalities:
1) Registration Status (Registration details like enrolment no, current semester,
fee-details, study centre, regional centre etc)
2) Courses in the Current Semester
3) Assignment Submission Schedules
4) Assignment Marks (semester-wise, course-wise till current semester)
5) Term End Exam Marks(semester-wise, course-wise till current semester)
6) Quit
Rohit goes to the market to buy Apples. After surveying the market he has to decide the quantity of apples he is supposed to buy.
Following are the requirements, which helps Rohit to decide how many kgs he can buy.
1. Capture the price of apple.
2. If the price of Apples is 100, the buy 5 kgs of apple.
3. If the price is an less than 100 but more than 80 then buy 8kgs of Apple.
4. If the price is less than 80 buy 10kgs of Apple.
5. Now calculate the cost price [Cost = Quantity * Price]
6. Display the cost at which Rohit has bought the Apples.
Make a program in c language using switch statement is currency converter.
Pak rupees to dollars.
Pak rupees to pound.
Pak rupees to dirham.
Pak rupees to sterling.
Mr. Seth is a Goldsmith. He wants to know the amount of money earned from the sale.
On a Normal day, i.e., Weekday there is a sale of Rs. 10000/- which is fixed. On a weekend,
there is an additional sale of Rs. 5000/- , and on a festival day (be it either week day or week
end), there is an additional sale of Rs. 20000/-.
Following are requirements to solve the problem
a. The type of day i.e., weekend or festival day has to be captured.
b. Check for the type of day and compute the total amount of sale
c. Display the amount of sale in Rupees.
Videocon gives a hike in the salaries for its employees based on the number of TV’s sold by the
employees in the financial year. Vishnu wants to know his new salary. Following are the
requirements to solve the problem
a) If the No’s of TV’s sold is less than 5000, then the hike is 5%
b) If the No’s of TV’s sold is greater than or equal to Rs 5000 and less
than 6500 then the hike is 7%
c) If the No’s of TV’s sold is greater than or equal to Rs 6500 then the
hike is 9%
d) Capture Vishnu’s present salary and the no of TV’s sold by Vishnu
e) Display Vishnu’s new salary
Flipkart is providing a discount to customers based on the purchases made. Ramachandra has
purchased some items, he would like to know his bill. Following are the requirements to solve
the problem
a) For purchases less than Rs 1000 , the discount is 10%
b) For purchases greater than and equal to Rs 1000 and less than 1500
the discount is 12%
c) For purchases greater than and equal to Rs 1500 the discount is 14%
d) Capture the purchased amount by Ramachandra
e) Display Ramachandra’s final bill