write an algorithm for : to give discount of 30 % to customers on purchase of items more than 5000
Answers
Answered by
0
Answer:
Algorithm. Algorithm of this program is very easy − START Step 1 → Take integer variable A Step 2 → Assign value to the variable Step 3 → Perform A modulo 2 and check result if output is 0 Step 4 → If true print A is even Step 5 → If false print A is odd STOP.
Answered by
0
Answer:
Step 1: Start.
Step 2: Take 3 numbers as input (Say A,B,C)
Step 3: If A2 = B2 + C2, display 'Pythagorean Triplets'
Step 4: If B2 = A2 + C2, display 'Pythagorean Triplets'
Step 5: If C2 = A2 + B2, display 'Pythagorean Triplets'
Step 6: If no condition of Step 3,4,5 match, display 'Not Pythagorean Triplets'
Similar questions
Math,
1 month ago
English,
1 month ago
Hindi,
1 month ago
Physics,
3 months ago
English,
3 months ago
Social Sciences,
10 months ago
Computer Science,
10 months ago