{"functions":[],"name":"New Program","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_cd423507_6c91_4ff0_ac2c_62d17cb8c6d9"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"String","name":"customerstype","lengthValue2":"5","id":"id_87c864e1_c3ff_4e89_bf00_87e43e7131e1","initValue":null},{"@type":"Input","name":"customerstype","id":"id_47841a95_cc16_46c9_8dbb_c8eb8fb03f0d","prompt":"Please enter customerstype:"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"purchaseamount","lengthValue2":"5","id":"id_2223e428_4cc0_4f72_aae4_1e17e23aafd2","initValue":null},{"@type":"Input","name":"purchaseamount","id":"id_938f9728_9ff8_4d65_95a7_c03e2b6cc640","prompt":"Please enter purchaseamount:"},{"falseBlock":{"statements":[{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_34a9e3cb_4d16_4c01_8a5c_d9e3589c519f","value":"\"new customer not eligible for discount\""}],"id":"id_d07a52b6_dbd2_4cb9_b40d_25cbf5b37856"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_d7e97faf_f9d1_43be_86e1_6c01faa77c9a","value":"\"new customer is eligible for discount\""}],"id":"id_9958c238_0624_42ba_a50a_14e649d1404e"},"condition":"purchaseamount>=10000","@type":"If","id":"id_4d76e279_903d_4f9e_83c4_7a2213857b35"}],"id":"id_62bbab9f_8814_4655_aeec_1987b69ca22e"},"trueBlock":{"statements":[{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_76bd8fd1_5873_4fd2_9d61_b15b38ac4bc8","value":"\"purchaseamount is too low for discount\""}],"id":"id_e0eb3af8_8421_46a4_a6fa_0717bc61cf24"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_ba628ce6_b81e_446d_8bcc_71ac05218742","value":"\"customer is eligible for discount\""}],"id":"id_edc2b27a_8968_4770_8f62_a3538133ffe3"},"condition":"purchaseamount>=5000","@type":"If","id":"id_176ab4a1_f1b3_4b7c_bac2_dae40783ca85"}],"id":"id_67811330_ba97_4422_b6e3_064fb293ab1b"},"condition":"customerstype==\"returning\"","@type":"If","id":"id_3232f36b_fca4_42a9_9280_06205d249c24"},{"@type":"Return","id":"id_169d6a19_83b3_4c40_9dd8_fa6483d5b90c","maybeValue":null}],"parameters":[]},"id":"id_91c87ed5_aa7d_4234_afd0_ad6a8c2d5299","config":{"showDebugVars":true,"useInputPrompt":true,"echoEnteredValue":true,"showIoBtns":true,"showFunctions":false,"lang":"c++","showGenCode":true},"version":"0.3","revision":419}