Question: a: Create flowchart or psueducode to represent the logic of a program that counts from 1 to 100, with a single number per output line.
a: Create flowchart or psueducode to represent the logic of a program that counts from 1 to 100, with a single number per output line. If a number is divisible by the value 4, output the string "Go" instead of the number itself. If the number happens to be divisible by the value 7, output the string "Cards! Instead of the number itself.
Finally, if a number is divisible both by the value 4 and the value 7, output the string "Go Cards!" (note the added space) instead of the number. So, the output will start to look like:
1
2
3
Go
5
6
Cards!
Go
9
10
27
Go Cards!
29
99
Go
b: Create a console application in Java for the same problem. Demonstrate your Java program by capturing runtime screen shots.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
