Computer Science, asked by mukund9116, 5 months ago

Problem Solving
1.Write a program to accept a number and check whether it is a buzz number (a buzz number is a number that
ends with 7 or is divisible by 7).
2.Write a program to input a number. Check and print whether it is a pronic number (a pronic number is a
number which is the product of two consecutive integers).
Example: 12 = 3 x 4
20 = 4 x 5
42 = 6x7
3.A cloth showroom has announced the following festival discounts based on the total cost of items
purchased:
S. No.
Total Cost
Discount Rate
4
1
5%
Less than Rs 2000
2.
25%
Rs 2001 to Rs 5000
3
35%
Rs 5001 to Rs 10,000
4
50%
Above Rs 10,000
total discount value availed by the user based on the given values.​

Answers

Answered by riyatantiya28
3

Explanation:

I didn't understand the last one... But the other two I have given in attachments. Hope it helps! :)

Attachments:
Similar questions