If statements help

Write an if statement that will print out a name if it begins with the letters M-Z. You may NOT assume that the name was typed in capital letters.


Write an if statement that will add 1 to an integer variable if it is exactly divisible by 5 (….,-5,0,5,10,….).
question here.


How do i write If statement for these?

closed account (48T7M4Gy)
http://www.cplusplus.com/doc/tutorial/control/
closed account (48T7M4Gy)
Try and write it in simple English as pseudocode first. Never fails. :)
Topic archived. No new replies allowed.