Hi, can someone help me about this problem or suggest some pseudocode?
if i input this numbers
12 ,24, 100
output should be
YES, YES, YES
i'm confused in writing the solution in code.
Can you post the code you are having problems with? pseudo code: begin loop read number print "YES" end loop Read More
> how to add them up. After the new number is obtained, add it to the variable that is to accumulate the total: total = total + newNumber; or shorthand way: total += newNumber; Can you post pseudo code for what you are trying to do? Make a list of … Read More
Edited by gelmi: typo
Edited by NormR1