Write a program that shows the formatted retail price of shirts when there is a 15% markdown. Test the program by performing a compile time initialization with an item labeled “Open Collar Running Shirt,” which has a wholesale price of $41.00. How much savings is expected with the markdown? Display appropriately labeled retail and markdown values for the shirt. Once you get that running, go back into your source code; add lines of code that will reassign the memory location’s values for a Razorback T-Shirt, which has a retail price of $36.00. Add additional lines of code, which will display the new item’s information along with the previous item. What happens if the markdown goes to 20% or 10%? Also, Write Pseudo Code/Algorithm and Draw Flow Chart for This Problem.
Answers
Answer:
The hexagon game involves two players, who gradually construct a six-vertex undirected graph with solid and dashed edges. Player 1 adds solid edges, whereas Player 2 uses dashes. The players begin with a six-vertex graph that has no edges (Figure 1), and add new edges, one by one; Player 1 makes the first move. At each move, a player has to add a new edge between two vertices that are not connected by any old edge. Figure 2 is an example of a mid-game position, where Player 1 has to make the next move. If Player 1 constructs a solid-line triangle, he loses the game; similarly, a dashed triangle means a loss of Player 2. For example, if the game ends as shown in Figure 3, then Player 2 has lost since he has constructed the dashed triangle “3-5-6.” Implement a program for playing the hexagon game. Your program should prompt the user to enter a player number (1 or 2), and then act as the specified player. For example, if the user enters “1”, the program should make the first move.
Please code in python 3,please help
Explanation:
brainlieas dena or thanks