Pavel Bazhutov - Speeding0 id_40edea85_fbe0_41bb_be10_b59e5dfa08de Begin id_4f9ce3fd_05af_4131_b298_6b0b2a3b12b9 10/28/24 Pavel Bazhutov id_40edea85_fbe0_41bb_be10_b59e5dfa08de:s->id_4f9ce3fd_05af_4131_b298_6b0b2a3b12b9:n id_cb5d9766_ede5_4d4f_8f7d_6cbe44d9d65b speedLimit id_4f9ce3fd_05af_4131_b298_6b0b2a3b12b9:s->id_cb5d9766_ede5_4d4f_8f7d_6cbe44d9d65b:n id_1a1eb55a_e7dd_490b_9cf5_c9302b99dd73 speed id_cb5d9766_ede5_4d4f_8f7d_6cbe44d9d65b:s->id_1a1eb55a_e7dd_490b_9cf5_c9302b99dd73:n id_64ac387e_f028_4f78_bc9a_ede3963a65b9 speedLimit id_1a1eb55a_e7dd_490b_9cf5_c9302b99dd73:s->id_64ac387e_f028_4f78_bc9a_ede3963a65b9:n id_a2738718_a80c_457a_a0af_1146bae7dbc4 we check if the speed limit is in the correct range id_64ac387e_f028_4f78_bc9a_ede3963a65b9:s->id_a2738718_a80c_457a_a0af_1146bae7dbc4:n id_f994c257_74c0_4dbd_be75_82d0efc60fff speedLimit >= 20 id_a2738718_a80c_457a_a0af_1146bae7dbc4:s->id_f994c257_74c0_4dbd_be75_82d0efc60fff:n true_dummy_up_id_f994c257_74c0_4dbd_be75_82d0efc60fff id_f994c257_74c0_4dbd_be75_82d0efc60fff:e->true_dummy_up_id_f994c257_74c0_4dbd_be75_82d0efc60fff true false_dummy_up_id_f994c257_74c0_4dbd_be75_82d0efc60fff id_f994c257_74c0_4dbd_be75_82d0efc60fff:w->false_dummy_up_id_f994c257_74c0_4dbd_be75_82d0efc60fff false id_9c827f00_da7b_47b4_8384_9389381d92e4 speedLimit <= 70 true_dummy_up_id_f994c257_74c0_4dbd_be75_82d0efc60fff->id_9c827f00_da7b_47b4_8384_9389381d92e4:n id_b263f2a4_d161_4f6b_951a_010c986055fb "Speed limit should be at least 20mph." false_dummy_up_id_f994c257_74c0_4dbd_be75_82d0efc60fff->id_b263f2a4_d161_4f6b_951a_010c986055fb:n true_dummy_up_id_9c827f00_da7b_47b4_8384_9389381d92e4 id_9c827f00_da7b_47b4_8384_9389381d92e4:e->true_dummy_up_id_9c827f00_da7b_47b4_8384_9389381d92e4 true false_dummy_up_id_9c827f00_da7b_47b4_8384_9389381d92e4 id_9c827f00_da7b_47b4_8384_9389381d92e4:w->false_dummy_up_id_9c827f00_da7b_47b4_8384_9389381d92e4 false id_c7adc30c_ca33_4ff2_b76f_d559af2427aa we ask for speed and make sure that driver is going over the speed limit true_dummy_up_id_9c827f00_da7b_47b4_8384_9389381d92e4->id_c7adc30c_ca33_4ff2_b76f_d559af2427aa:n id_0fca4330_9bc3_400e_bd9a_4ad0e6f86bd5 "Speed limit should be not greater than 70mph." false_dummy_up_id_9c827f00_da7b_47b4_8384_9389381d92e4->id_0fca4330_9bc3_400e_bd9a_4ad0e6f86bd5:n id_e5f9dd9e_a9a7_41cc_ae9e_317dd0129cba speed id_c7adc30c_ca33_4ff2_b76f_d559af2427aa:s->id_e5f9dd9e_a9a7_41cc_ae9e_317dd0129cba:n id_390ec43c_20a3_4600_9577_d2c7b456a985 speed > speedLimit id_e5f9dd9e_a9a7_41cc_ae9e_317dd0129cba:s->id_390ec43c_20a3_4600_9577_d2c7b456a985:n true_dummy_up_id_390ec43c_20a3_4600_9577_d2c7b456a985 id_390ec43c_20a3_4600_9577_d2c7b456a985:e->true_dummy_up_id_390ec43c_20a3_4600_9577_d2c7b456a985 true false_dummy_up_id_390ec43c_20a3_4600_9577_d2c7b456a985 id_390ec43c_20a3_4600_9577_d2c7b456a985:w->false_dummy_up_id_390ec43c_20a3_4600_9577_d2c7b456a985 false id_0cb57d3f_0be9_4809_a23c_591009f74d38 we calculate the difference between the speed and a speed limit true_dummy_up_id_390ec43c_20a3_4600_9577_d2c7b456a985->id_0cb57d3f_0be9_4809_a23c_591009f74d38:n id_18daa02c_2e5e_410c_8620_c2044f22e38e "The driver was not speeding" false_dummy_up_id_390ec43c_20a3_4600_9577_d2c7b456a985->id_18daa02c_2e5e_410c_8620_c2044f22e38e:n id_decd6996_ba4e_4c10_a330_aa4cc233a938 diff = speed - speedLimit id_0cb57d3f_0be9_4809_a23c_591009f74d38:s->id_decd6996_ba4e_4c10_a330_aa4cc233a938:n id_1df4b9fd_c118_408a_9edd_9a76af6880f0 "The driver was going " id_decd6996_ba4e_4c10_a330_aa4cc233a938:s->id_1df4b9fd_c118_408a_9edd_9a76af6880f0:n id_3a0e3c56_3c44_485a_a4bb_86bc85e39f42 diff id_1df4b9fd_c118_408a_9edd_9a76af6880f0:s->id_3a0e3c56_3c44_485a_a4bb_86bc85e39f42:n id_9741885b_ba92_4b2f_8bc2_d6fbfbadef36 "mph over the speed limit." id_3a0e3c56_3c44_485a_a4bb_86bc85e39f42:s->id_9741885b_ba92_4b2f_8bc2_d6fbfbadef36:n true_dummy_down_id_390ec43c_20a3_4600_9577_d2c7b456a985 id_9741885b_ba92_4b2f_8bc2_d6fbfbadef36:s->true_dummy_down_id_390ec43c_20a3_4600_9577_d2c7b456a985:n false_dummy_down_id_390ec43c_20a3_4600_9577_d2c7b456a985 id_18daa02c_2e5e_410c_8620_c2044f22e38e:s->false_dummy_down_id_390ec43c_20a3_4600_9577_d2c7b456a985:n end_id_390ec43c_20a3_4600_9577_d2c7b456a985 true_dummy_down_id_390ec43c_20a3_4600_9577_d2c7b456a985->end_id_390ec43c_20a3_4600_9577_d2c7b456a985 false_dummy_down_id_390ec43c_20a3_4600_9577_d2c7b456a985->end_id_390ec43c_20a3_4600_9577_d2c7b456a985 true_dummy_down_id_9c827f00_da7b_47b4_8384_9389381d92e4 end_id_390ec43c_20a3_4600_9577_d2c7b456a985:s->true_dummy_down_id_9c827f00_da7b_47b4_8384_9389381d92e4:n false_dummy_down_id_9c827f00_da7b_47b4_8384_9389381d92e4 id_0fca4330_9bc3_400e_bd9a_4ad0e6f86bd5:s->false_dummy_down_id_9c827f00_da7b_47b4_8384_9389381d92e4:n end_id_9c827f00_da7b_47b4_8384_9389381d92e4 true_dummy_down_id_9c827f00_da7b_47b4_8384_9389381d92e4->end_id_9c827f00_da7b_47b4_8384_9389381d92e4 false_dummy_down_id_9c827f00_da7b_47b4_8384_9389381d92e4->end_id_9c827f00_da7b_47b4_8384_9389381d92e4 true_dummy_down_id_f994c257_74c0_4dbd_be75_82d0efc60fff end_id_9c827f00_da7b_47b4_8384_9389381d92e4:s->true_dummy_down_id_f994c257_74c0_4dbd_be75_82d0efc60fff:n false_dummy_down_id_f994c257_74c0_4dbd_be75_82d0efc60fff id_b263f2a4_d161_4f6b_951a_010c986055fb:s->false_dummy_down_id_f994c257_74c0_4dbd_be75_82d0efc60fff:n end_id_f994c257_74c0_4dbd_be75_82d0efc60fff true_dummy_down_id_f994c257_74c0_4dbd_be75_82d0efc60fff->end_id_f994c257_74c0_4dbd_be75_82d0efc60fff false_dummy_down_id_f994c257_74c0_4dbd_be75_82d0efc60fff->end_id_f994c257_74c0_4dbd_be75_82d0efc60fff id_ea660b5c_8242_4413_a659_73520d02361a End end_id_f994c257_74c0_4dbd_be75_82d0efc60fff:s->id_ea660b5c_8242_4413_a659_73520d02361a:n
Pavel Bazhutov 10/12/240 id_a087e6b7_6bb6_455c_a1b6_1cf39c1cd338 Begin id_b2e09822_69d2_4ed3_b288_2e169d93a5bd Author: Bazhutov Pavel 10/12/24 id_a087e6b7_6bb6_455c_a1b6_1cf39c1cd338:s->id_b2e09822_69d2_4ed3_b288_2e169d93a5bd:n id_2d2da88b_1fa6_415a_93a3_3ec1a042eb87 weight id_b2e09822_69d2_4ed3_b288_2e169d93a5bd:s->id_2d2da88b_1fa6_415a_93a3_3ec1a042eb87:n id_62eb2a4e_82fe_4294_98c8_32a30fc37743 declaring and inputting the var weight id_2d2da88b_1fa6_415a_93a3_3ec1a042eb87:s->id_62eb2a4e_82fe_4294_98c8_32a30fc37743:n id_2452789d_d459_4c9c_a630_9c44e8f2aa16 weight id_62eb2a4e_82fe_4294_98c8_32a30fc37743:s->id_2452789d_d459_4c9c_a630_9c44e8f2aa16:n id_fedbd772_e811_4a4d_935c_2443f6335d1f We check the first condition that package is less than 2 lb. After that, we check every other condition. id_2452789d_d459_4c9c_a630_9c44e8f2aa16:s->id_fedbd772_e811_4a4d_935c_2443f6335d1f:n id_fe5bc936_3a2f_4b0e_8a9c_0a288b86e408 weight <= 2 id_fedbd772_e811_4a4d_935c_2443f6335d1f:s->id_fe5bc936_3a2f_4b0e_8a9c_0a288b86e408:n true_dummy_up_id_fe5bc936_3a2f_4b0e_8a9c_0a288b86e408 id_fe5bc936_3a2f_4b0e_8a9c_0a288b86e408:e->true_dummy_up_id_fe5bc936_3a2f_4b0e_8a9c_0a288b86e408 true false_dummy_up_id_fe5bc936_3a2f_4b0e_8a9c_0a288b86e408 id_fe5bc936_3a2f_4b0e_8a9c_0a288b86e408:w->false_dummy_up_id_fe5bc936_3a2f_4b0e_8a9c_0a288b86e408 false id_fa918645_3467_415d_8c6c_a13a303608a6 "the delivery price is: " true_dummy_up_id_fe5bc936_3a2f_4b0e_8a9c_0a288b86e408->id_fa918645_3467_415d_8c6c_a13a303608a6:n id_a3c13acc_f953_448a_b5eb_39fec2301903 weight <= 6 false_dummy_up_id_fe5bc936_3a2f_4b0e_8a9c_0a288b86e408->id_a3c13acc_f953_448a_b5eb_39fec2301903:n id_b210e476_d452_4375_b722_9dba41a2cbad "$1.10" id_fa918645_3467_415d_8c6c_a13a303608a6:s->id_b210e476_d452_4375_b722_9dba41a2cbad:n true_dummy_down_id_fe5bc936_3a2f_4b0e_8a9c_0a288b86e408 id_b210e476_d452_4375_b722_9dba41a2cbad:s->true_dummy_down_id_fe5bc936_3a2f_4b0e_8a9c_0a288b86e408:n true_dummy_up_id_a3c13acc_f953_448a_b5eb_39fec2301903 id_a3c13acc_f953_448a_b5eb_39fec2301903:e->true_dummy_up_id_a3c13acc_f953_448a_b5eb_39fec2301903 true false_dummy_up_id_a3c13acc_f953_448a_b5eb_39fec2301903 id_a3c13acc_f953_448a_b5eb_39fec2301903:w->false_dummy_up_id_a3c13acc_f953_448a_b5eb_39fec2301903 false id_7ce84b76_27e3_4bb2_8b7e_26818b31ef09 "the delivery price is: " true_dummy_up_id_a3c13acc_f953_448a_b5eb_39fec2301903->id_7ce84b76_27e3_4bb2_8b7e_26818b31ef09:n id_06e2dccc_1971_4c03_9732_9c1b9f364ee8 weight <= 10 false_dummy_up_id_a3c13acc_f953_448a_b5eb_39fec2301903->id_06e2dccc_1971_4c03_9732_9c1b9f364ee8:n id_db0c4ba7_0df8_453e_93b5_078eaa3b782f "$2.20" id_7ce84b76_27e3_4bb2_8b7e_26818b31ef09:s->id_db0c4ba7_0df8_453e_93b5_078eaa3b782f:n true_dummy_down_id_a3c13acc_f953_448a_b5eb_39fec2301903 id_db0c4ba7_0df8_453e_93b5_078eaa3b782f:s->true_dummy_down_id_a3c13acc_f953_448a_b5eb_39fec2301903:n true_dummy_up_id_06e2dccc_1971_4c03_9732_9c1b9f364ee8 id_06e2dccc_1971_4c03_9732_9c1b9f364ee8:e->true_dummy_up_id_06e2dccc_1971_4c03_9732_9c1b9f364ee8 true false_dummy_up_id_06e2dccc_1971_4c03_9732_9c1b9f364ee8 id_06e2dccc_1971_4c03_9732_9c1b9f364ee8:w->false_dummy_up_id_06e2dccc_1971_4c03_9732_9c1b9f364ee8 false id_d122def8_eb8b_4943_bc1f_75d785ee7701 "the delivery price is: " true_dummy_up_id_06e2dccc_1971_4c03_9732_9c1b9f364ee8->id_d122def8_eb8b_4943_bc1f_75d785ee7701:n id_7fefad17_bd3a_4548_8c12_f5da658c4ecb "the delivery price is: " false_dummy_up_id_06e2dccc_1971_4c03_9732_9c1b9f364ee8->id_7fefad17_bd3a_4548_8c12_f5da658c4ecb:n id_bfe346c0_3a7b_41c2_9f38_567adbd5d428 "$3.70" id_d122def8_eb8b_4943_bc1f_75d785ee7701:s->id_bfe346c0_3a7b_41c2_9f38_567adbd5d428:n true_dummy_down_id_06e2dccc_1971_4c03_9732_9c1b9f364ee8 id_bfe346c0_3a7b_41c2_9f38_567adbd5d428:s->true_dummy_down_id_06e2dccc_1971_4c03_9732_9c1b9f364ee8:n id_fc6c0f5b_e353_4b5e_aaf8_73dab8578eb8 "$3.80" id_7fefad17_bd3a_4548_8c12_f5da658c4ecb:s->id_fc6c0f5b_e353_4b5e_aaf8_73dab8578eb8:n false_dummy_down_id_06e2dccc_1971_4c03_9732_9c1b9f364ee8 id_fc6c0f5b_e353_4b5e_aaf8_73dab8578eb8:s->false_dummy_down_id_06e2dccc_1971_4c03_9732_9c1b9f364ee8:n end_id_06e2dccc_1971_4c03_9732_9c1b9f364ee8 true_dummy_down_id_06e2dccc_1971_4c03_9732_9c1b9f364ee8->end_id_06e2dccc_1971_4c03_9732_9c1b9f364ee8 false_dummy_down_id_06e2dccc_1971_4c03_9732_9c1b9f364ee8->end_id_06e2dccc_1971_4c03_9732_9c1b9f364ee8 false_dummy_down_id_a3c13acc_f953_448a_b5eb_39fec2301903 end_id_06e2dccc_1971_4c03_9732_9c1b9f364ee8:s->false_dummy_down_id_a3c13acc_f953_448a_b5eb_39fec2301903:n end_id_a3c13acc_f953_448a_b5eb_39fec2301903 true_dummy_down_id_a3c13acc_f953_448a_b5eb_39fec2301903->end_id_a3c13acc_f953_448a_b5eb_39fec2301903 false_dummy_down_id_a3c13acc_f953_448a_b5eb_39fec2301903->end_id_a3c13acc_f953_448a_b5eb_39fec2301903 false_dummy_down_id_fe5bc936_3a2f_4b0e_8a9c_0a288b86e408 end_id_a3c13acc_f953_448a_b5eb_39fec2301903:s->false_dummy_down_id_fe5bc936_3a2f_4b0e_8a9c_0a288b86e408:n end_id_fe5bc936_3a2f_4b0e_8a9c_0a288b86e408 true_dummy_down_id_fe5bc936_3a2f_4b0e_8a9c_0a288b86e408->end_id_fe5bc936_3a2f_4b0e_8a9c_0a288b86e408 false_dummy_down_id_fe5bc936_3a2f_4b0e_8a9c_0a288b86e408->end_id_fe5bc936_3a2f_4b0e_8a9c_0a288b86e408 id_15ce2b5a_e4e8_4b34_9a11_c9c401fcf926 End end_id_fe5bc936_3a2f_4b0e_8a9c_0a288b86e408:s->id_15ce2b5a_e4e8_4b34_9a11_c9c401fcf926:n
Restaurant0 id_575a91fd_07b6_4541_9b22_aff4a2438e55 Begin id_dfc34614_0d29_4a32_ab50_c94dada19684 9/21/24 Author: Pavel Bazhutov id_575a91fd_07b6_4541_9b22_aff4a2438e55:s->id_dfc34614_0d29_4a32_ab50_c94dada19684:n id_06e540a7_ef81_4f20_82f5_063e50c7b303 foodCharge id_dfc34614_0d29_4a32_ab50_c94dada19684:s->id_06e540a7_ef81_4f20_82f5_063e50c7b303:n id_b1e54c04_2333_41b9_8986_6f0d1155c2da foodCharge id_06e540a7_ef81_4f20_82f5_063e50c7b303:s->id_b1e54c04_2333_41b9_8986_6f0d1155c2da:n id_437d0e4f_3795_45e3_bfdf_9699fa90eed8 foodCharge is Food cost id_b1e54c04_2333_41b9_8986_6f0d1155c2da:s->id_437d0e4f_3795_45e3_bfdf_9699fa90eed8:n id_56e6ef2d_093f_4170_b950_8d86eac2793b "Food charge: " id_437d0e4f_3795_45e3_bfdf_9699fa90eed8:s->id_56e6ef2d_093f_4170_b950_8d86eac2793b:n id_5c00ee8f_2d39_420f_8457_ffe667b3716b foodCharge id_56e6ef2d_093f_4170_b950_8d86eac2793b:s->id_5c00ee8f_2d39_420f_8457_ffe667b3716b:n id_66e5e377_cde5_4972_b92c_1b6d9394e22c tip = 0.15 id_5c00ee8f_2d39_420f_8457_ffe667b3716b:s->id_66e5e377_cde5_4972_b92c_1b6d9394e22c:n id_c5fe6c9f_7bba_4d0f_b32a_ee9be2e76a5a Tip is 15% which is 0.15 id_66e5e377_cde5_4972_b92c_1b6d9394e22c:s->id_c5fe6c9f_7bba_4d0f_b32a_ee9be2e76a5a:n id_b588f9d1_b128_41f8_a50c_8cbfe3cbe245 tax = 0.07 id_c5fe6c9f_7bba_4d0f_b32a_ee9be2e76a5a:s->id_b588f9d1_b128_41f8_a50c_8cbfe3cbe245:n id_a7549d61_438b_499a_9182_792b0b115e09 Tax is 7% which is 0.07 id_b588f9d1_b128_41f8_a50c_8cbfe3cbe245:s->id_a7549d61_438b_499a_9182_792b0b115e09:n id_6b3cb54c_45ff_4a80_b927_575f681a4a2d tipValue = foodCharge * tip id_a7549d61_438b_499a_9182_792b0b115e09:s->id_6b3cb54c_45ff_4a80_b927_575f681a4a2d:n id_0a0a33ad_8947_4bae_894a_99280e2ccf14 tipValue is how much money the person will leave as a tip id_6b3cb54c_45ff_4a80_b927_575f681a4a2d:s->id_0a0a33ad_8947_4bae_894a_99280e2ccf14:n id_c018c341_dd7e_4724_b191_f4add88d9fbb "Tips: " id_0a0a33ad_8947_4bae_894a_99280e2ccf14:s->id_c018c341_dd7e_4724_b191_f4add88d9fbb:n id_94926e4f_cff6_4363_97c1_4f5b3ed8170a tipValue id_c018c341_dd7e_4724_b191_f4add88d9fbb:s->id_94926e4f_cff6_4363_97c1_4f5b3ed8170a:n id_88027ca9_5726_4c69_8859_1dc3bdb4b01c taxValue = foodCharge * tax id_94926e4f_cff6_4363_97c1_4f5b3ed8170a:s->id_88027ca9_5726_4c69_8859_1dc3bdb4b01c:n id_6441c5f8_99e5_4d1c_bc3e_e8ab8aa11705 taxValue is the amount of money person pays as taxes id_88027ca9_5726_4c69_8859_1dc3bdb4b01c:s->id_6441c5f8_99e5_4d1c_bc3e_e8ab8aa11705:n id_234e2522_5fc3_40d2_b56a_2804598ca909 "Tax: " id_6441c5f8_99e5_4d1c_bc3e_e8ab8aa11705:s->id_234e2522_5fc3_40d2_b56a_2804598ca909:n id_b4fb840d_06e4_4162_b403_31e9e9db4033 taxValue id_234e2522_5fc3_40d2_b56a_2804598ca909:s->id_b4fb840d_06e4_4162_b403_31e9e9db4033:n id_5398bf83_27d6_49af_90ff_9fb9095ba9ec Total = foodCharge + tipValue + taxValue id_b4fb840d_06e4_4162_b403_31e9e9db4033:s->id_5398bf83_27d6_49af_90ff_9fb9095ba9ec:n id_67663db0_b12c_4340_a23b_3ee2486216a1 Total is the total amount of money person pays after taxes and tips id_5398bf83_27d6_49af_90ff_9fb9095ba9ec:s->id_67663db0_b12c_4340_a23b_3ee2486216a1:n id_5c88dc6b_5d9e_4ee6_aa49_4806cd523031 "Total: " id_67663db0_b12c_4340_a23b_3ee2486216a1:s->id_5c88dc6b_5d9e_4ee6_aa49_4806cd523031:n id_2be480ec_d9ba_4c97_841b_4f5208f0d93e Total id_5c88dc6b_5d9e_4ee6_aa49_4806cd523031:s->id_2be480ec_d9ba_4c97_841b_4f5208f0d93e:n id_43078aff_e2ae_4616_aab0_cae8b1ae2a38 End id_2be480ec_d9ba_4c97_841b_4f5208f0d93e:s->id_43078aff_e2ae_4616_aab0_cae8b1ae2a38:n
Pavel Bazhutov0 id_2cba3717_3dce_4f0e_bb3d_7cf63d92d07d Begin id_e6954edb_ddfb_4e58_b4fc_76b5d428dbbf 9/11/24 Author:Pavel Bazhutov id_2cba3717_3dce_4f0e_bb3d_7cf63d92d07d:s->id_e6954edb_ddfb_4e58_b4fc_76b5d428dbbf:n id_51887a28_678b_4e74_831b_15dad96ab2a1 taxValue = 0.07 id_e6954edb_ddfb_4e58_b4fc_76b5d428dbbf:s->id_51887a28_678b_4e74_831b_15dad96ab2a1:n id_89145044_afc0_413b_bc16_0a379c66b92d 7% = 7 / 100 that's why I put value 0.07 id_51887a28_678b_4e74_831b_15dad96ab2a1:s->id_89145044_afc0_413b_bc16_0a379c66b92d:n id_9d25456d_a01c_498e_9691_f3ef6ae47f79 item1 id_89145044_afc0_413b_bc16_0a379c66b92d:s->id_9d25456d_a01c_498e_9691_f3ef6ae47f79:n id_657198cc_73a9_4dfb_83a9_388a86f30fcf item2 id_9d25456d_a01c_498e_9691_f3ef6ae47f79:s->id_657198cc_73a9_4dfb_83a9_388a86f30fcf:n id_0c683ba9_2b70_4701_b10e_5c0fe18420fc item3 id_657198cc_73a9_4dfb_83a9_388a86f30fcf:s->id_0c683ba9_2b70_4701_b10e_5c0fe18420fc:n id_49fe3164_9274_403e_a994_0e443265e4b5 item4 id_0c683ba9_2b70_4701_b10e_5c0fe18420fc:s->id_49fe3164_9274_403e_a994_0e443265e4b5:n id_46b937ab_bf8c_491e_9773_e92499dd6b75 item5 id_49fe3164_9274_403e_a994_0e443265e4b5:s->id_46b937ab_bf8c_491e_9773_e92499dd6b75:n id_7945dd4f_fa61_4a01_a72e_423e930a05da declaring all the vars id_46b937ab_bf8c_491e_9773_e92499dd6b75:s->id_7945dd4f_fa61_4a01_a72e_423e930a05da:n id_992ba575_21df_4767_8d44_5728ec155614 item1 id_7945dd4f_fa61_4a01_a72e_423e930a05da:s->id_992ba575_21df_4767_8d44_5728ec155614:n id_91dab3d8_6a1a_4f3d_bcf0_9cded1f6f01f item2 id_992ba575_21df_4767_8d44_5728ec155614:s->id_91dab3d8_6a1a_4f3d_bcf0_9cded1f6f01f:n id_597861bf_2bd3_4aea_893d_2618feda93a7 item3 id_91dab3d8_6a1a_4f3d_bcf0_9cded1f6f01f:s->id_597861bf_2bd3_4aea_893d_2618feda93a7:n id_b4df990f_aadd_400f_b975_f831c3bef4b0 item4 id_597861bf_2bd3_4aea_893d_2618feda93a7:s->id_b4df990f_aadd_400f_b975_f831c3bef4b0:n id_d8cdb153_dfe4_46dd_9ecd_0132b09381a6 item5 id_b4df990f_aadd_400f_b975_f831c3bef4b0:s->id_d8cdb153_dfe4_46dd_9ecd_0132b09381a6:n id_ffe40126_ed1e_48f3_819c_03b08ca95d94 asking to input 5 vars id_d8cdb153_dfe4_46dd_9ecd_0132b09381a6:s->id_ffe40126_ed1e_48f3_819c_03b08ca95d94:n id_8dbf22b4_1e42_49ce_96fe_813cf106cd01 subtotal = item1 + item2 + item3 + item4 + item5 id_ffe40126_ed1e_48f3_819c_03b08ca95d94:s->id_8dbf22b4_1e42_49ce_96fe_813cf106cd01:n id_697da45c_2fef_43f7_ba05_e07b04062c97 subtotal is a sum of all the prices. No tax id_8dbf22b4_1e42_49ce_96fe_813cf106cd01:s->id_697da45c_2fef_43f7_ba05_e07b04062c97:n id_5265c20d_58e7_4087_ab11_55653b6b58dd "subtotal is: " id_697da45c_2fef_43f7_ba05_e07b04062c97:s->id_5265c20d_58e7_4087_ab11_55653b6b58dd:n id_044b2b1d_3ebe_42b8_944c_9a8f58c43b00 subtotal id_5265c20d_58e7_4087_ab11_55653b6b58dd:s->id_044b2b1d_3ebe_42b8_944c_9a8f58c43b00:n id_18bd097d_cce7_4dab_8d58_3fb4499607c5 salesTax = subtotal * taxValue id_044b2b1d_3ebe_42b8_944c_9a8f58c43b00:s->id_18bd097d_cce7_4dab_8d58_3fb4499607c5:n id_0d57fc4d_f2cf_47dd_a4f5_5135de8fb13f salesTax is the amount of taxes the user should pay out of the whole check id_18bd097d_cce7_4dab_8d58_3fb4499607c5:s->id_0d57fc4d_f2cf_47dd_a4f5_5135de8fb13f:n id_09219254_935c_4cbf_a2d7_eee36dedb054 "sales tax is: " id_0d57fc4d_f2cf_47dd_a4f5_5135de8fb13f:s->id_09219254_935c_4cbf_a2d7_eee36dedb054:n id_9f3f497b_9b80_429a_b5ac_36ff57a56158 salesTax id_09219254_935c_4cbf_a2d7_eee36dedb054:s->id_9f3f497b_9b80_429a_b5ac_36ff57a56158:n id_9967099d_c2f8_43b4_9795_95cc8bdb4100 totalPurchase = subtotal + taxValue id_9f3f497b_9b80_429a_b5ac_36ff57a56158:s->id_9967099d_c2f8_43b4_9795_95cc8bdb4100:n id_caa33ea1_2d1a_4115_b075_a52bef1ede66 totalPurchase is the total amount to pay id_9967099d_c2f8_43b4_9795_95cc8bdb4100:s->id_caa33ea1_2d1a_4115_b075_a52bef1ede66:n id_24af8f60_1394_4187_a3b1_76b56cce8538 "total is: " id_caa33ea1_2d1a_4115_b075_a52bef1ede66:s->id_24af8f60_1394_4187_a3b1_76b56cce8538:n id_389b04a6_d210_4b83_8d29_c6f2fa514757 totalPurchase id_24af8f60_1394_4187_a3b1_76b56cce8538:s->id_389b04a6_d210_4b83_8d29_c6f2fa514757:n id_eb23761c_3e7f_415e_bac5_a9123d20a96d End id_389b04a6_d210_4b83_8d29_c6f2fa514757:s->id_eb23761c_3e7f_415e_bac5_a9123d20a96d:n
Assignment 1 Pavel Bazhutov0 id_97f69032_d4ff_4cc9_b339_ee0b896626f9 Begin id_808d6376_52e0_4a29_91a8_4406741ca279 Wage id_97f69032_d4ff_4cc9_b339_ee0b896626f9:s->id_808d6376_52e0_4a29_91a8_4406741ca279:n id_ad949fa7_b168_4332_8fa6_7bb90c24a69d Declaring variable Wage id_808d6376_52e0_4a29_91a8_4406741ca279:s->id_ad949fa7_b168_4332_8fa6_7bb90c24a69d:n id_066926fb_3433_4508_9bfd_d6afb056376e Hours id_ad949fa7_b168_4332_8fa6_7bb90c24a69d:s->id_066926fb_3433_4508_9bfd_d6afb056376e:n id_80b395f9_e252_44de_8127_3e16e9711fd3 Declaring variable Hours Worked id_066926fb_3433_4508_9bfd_d6afb056376e:s->id_80b395f9_e252_44de_8127_3e16e9711fd3:n id_d9c62d51_724c_416e_b3c0_1cef23befb5c Wage id_80b395f9_e252_44de_8127_3e16e9711fd3:s->id_d9c62d51_724c_416e_b3c0_1cef23befb5c:n id_f73b90ef_3d3d_4926_81d4_7fc025888329 Hours id_d9c62d51_724c_416e_b3c0_1cef23befb5c:s->id_f73b90ef_3d3d_4926_81d4_7fc025888329:n id_835d75ac_a35b_4c57_ba81_77f847dfbf7b Input of 2 variables id_f73b90ef_3d3d_4926_81d4_7fc025888329:s->id_835d75ac_a35b_4c57_ba81_77f847dfbf7b:n id_60d11d64_9ce7_45c2_8500_e9f6b5572f34 Salary = 52 * Wage * Hours id_835d75ac_a35b_4c57_ba81_77f847dfbf7b:s->id_60d11d64_9ce7_45c2_8500_e9f6b5572f34:n id_e46df951_dd37_4f14_bf69_4f7fe06339db Calculating yearly gross pay by multiplication of wage, hours and 52 weeks a year id_60d11d64_9ce7_45c2_8500_e9f6b5572f34:s->id_e46df951_dd37_4f14_bf69_4f7fe06339db:n id_4d7a642d_5d62_412b_87a5_12b8554ba563 "Your Yearly Gross Pay is: " id_e46df951_dd37_4f14_bf69_4f7fe06339db:s->id_4d7a642d_5d62_412b_87a5_12b8554ba563:n id_46dbc2bc_a803_4ffa_ad9c_43c0ca758746 Salary id_4d7a642d_5d62_412b_87a5_12b8554ba563:s->id_46dbc2bc_a803_4ffa_ad9c_43c0ca758746:n id_ade2b694_876f_4de4_9ef8_7236b606a325 Output salary id_46dbc2bc_a803_4ffa_ad9c_43c0ca758746:s->id_ade2b694_876f_4de4_9ef8_7236b606a325:n id_9210a72d_87c0_4424_801a_0abff8b5c791 End id_ade2b694_876f_4de4_9ef8_7236b606a325:s->id_9210a72d_87c0_4424_801a_0abff8b5c791:n