posted 5 years ago
Hi, I have never done programming in my life before I started taking a class this semester. This weeks program assignment is to get a program to print out if you got in a wreck or if you didnt. So far I have this as my program, but when I go to compile it, after entering the speed and the distance they all print out at the same time. How do I get it to just print out one at a time depending on the distance and speed?