Cody

# Problem 42979. Calculating selling price

Solution 1845850

Submitted on 11 Jun 2019
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   Fail
x = 50; y_correct = 55; assert(isequal(your_fcn_name(x),y_correct))

Assertion failed.

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

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

Assertion failed.

### 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.56109595,"math_prob":0.90477693,"size":503,"snap":"2020-45-2020-50","text_gpt3_token_len":154,"char_repetition_ratio":0.15831663,"word_repetition_ratio":0.0,"special_character_ratio":0.33996025,"punctuation_ratio":0.12643678,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.97197694,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2020-10-30T21:18:20Z\",\"WARC-Record-ID\":\"<urn:uuid:401c39b1-a094-420f-906a-4c118f959e7a>\",\"Content-Length\":\"79792\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:2b41c5d3-75b0-407e-bc90-2a3dd6c58b78>\",\"WARC-Concurrent-To\":\"<urn:uuid:f79a3c37-146b-42cc-9e4e-fee316c3993e>\",\"WARC-IP-Address\":\"23.212.144.59\",\"WARC-Target-URI\":\"https://uk.mathworks.com/matlabcentral/cody/problems/42979-calculating-selling-price/solutions/1845850\",\"WARC-Payload-Digest\":\"sha1:LXZLIQ43RUKN4XKWI4W6TO7C7KBXQZR6\",\"WARC-Block-Digest\":\"sha1:HHFDO6BRXSPM5WLTWZFZX2ZL2RE5NLU4\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2020/CC-MAIN-2020-45/CC-MAIN-2020-45_segments_1603107911229.96_warc_CC-MAIN-20201030182757-20201030212757-00555.warc.gz\"}"}