Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- write the pseudo code for the logic that takes a number form the user, if the number is less than or = to 0, output the statement: "Invalid Number Input" + <the number that was entered>. Otherwise, display the sum of every number from 1 through the entered numbers. Example, if the user enters 3, you output "The sums of 3 is 6" ( 1 + 2 + 3 = 6).
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement