Hey guys, ignore the ridiculous question down there, i just trying to figure out how to calculate the mark after the user pick the abcd option and at the last program, the user will be show their result based on their options, example q1, the user pick a that represent 5 mark, and q2 the user pick b that represent 3 mark, how to show to the user that their score is 8 after the end of personality test session?
i dont understand hard coding, just try give me the easiest coding as this only for some school/collegue task, thanks for those try to help! I will appreciate it so much because Im really blank right now! only god can repay your kindness!Hope with your help I gain new knowledge and for your benfits you can expand your knowledge too, cheers!
Make a counter. If A is always +5, B +3, C +1 (or somesuch) and D +0, make it so that if the answer is A, mark += 5, else if it's B, mark += 3, et cetera.
Ispil do u mind to make the additional coding inside my existed code? because Im really just a newbie T.T sorry if it disturb you, if you dont want, its ok and thanks for give me the info :)
so ispil, how bout the last calculation? example to show the user that they got 8? q1+q2 cout"total personality test for you is: "? sorry to disturb u again==
edit: actually i feel shy to ask the question again and again to u because im afraid that will make you annoying, but i left no choice, sorry, and its ok if you tell me that you cant help me, i understand.