Cody

# Problem 42979. Calculating selling price

Solution 1323832

Submitted on 1 Nov 2017 by SUBROTA HALDER
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

### Test Suite

Test Status Code Input and Output
1   Pass
x = 50; y_correct = 55; assert(isequal(your_fcn_name(x),y_correct))

2   Pass
x = 500; y_correct = 550; assert(isequal(your_fcn_name(x),y_correct))

3   Pass
x = 100; y_correct = 110; assert(isequal(your_fcn_name(x),y_correct))

### Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
{"ft_lang_label":"__label__en","ft_lang_prob":0.5789386,"math_prob":0.9597787,"size":500,"snap":"2020-45-2020-50","text_gpt3_token_len":155,"char_repetition_ratio":0.15927419,"word_repetition_ratio":0.0,"special_character_ratio":0.344,"punctuation_ratio":0.125,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9757107,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2020-10-30T05:36:47Z\",\"WARC-Record-ID\":\"<urn:uuid:e79b5d1a-63eb-4179-8b8d-f0b77882702a>\",\"Content-Length\":\"79916\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:fcb8ef7f-e67b-418b-933f-1d405b6de485>\",\"WARC-Concurrent-To\":\"<urn:uuid:bdc3ae82-de69-4833-88a2-996abc9c7049>\",\"WARC-IP-Address\":\"104.117.0.182\",\"WARC-Target-URI\":\"https://ch.mathworks.com/matlabcentral/cody/problems/42979-calculating-selling-price/solutions/1323832\",\"WARC-Payload-Digest\":\"sha1:DJJER2JF7NRZLVV6KGWF7KOLMN62G7CR\",\"WARC-Block-Digest\":\"sha1:Y73CAA5ZHZTVU3RS5TRN6DDB5B4RPFGG\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2020/CC-MAIN-2020-45/CC-MAIN-2020-45_segments_1603107907213.64_warc_CC-MAIN-20201030033658-20201030063658-00691.warc.gz\"}"}