Sign InCreate Account

EditorProjectsPseudocode TutorPractice QuestionsCode ConverterCode GeneratorFlowchartsUpgrade
Back to Problems
PreviousNext

You need to sign in to test your code and save your progress on this question.

Problem Description

Shopping Cart Total

Medium
Exam Style
Selection
Arithmetic

Write a program that takes the prices of 3 items in a shopping cart. If the total is greater than 50, apply a 10% discount. Output the final total.

Example Input

20 20 20

Example Output

54

Success Rate:

0% (0 passed / 0 attempted)

Code

Unsaved

Test Results

Click "Run Code" to evaluate your code against the tests.

Product

For SchoolsOverviewFeaturesFAQ

© 2026 PseudoEditor. All rights reserved.