In python, Write a program that prompts for an odd integer that is between 50 and 100, inclusive. Use just one if expression with logical operators to test the input. Reply positively or negatively as appropriate.   Start each program with your name and SPC ID# in a comment. Plan each program by writing pseudocode. Write all of your pseudocode as comments immediately after your name and SPC ID#.  Add more comments as needed in each program to explain your code. Choose descriptive variable names in all programs. Currency format. There should be no space between the $ sign and the first digit. See sep on page 66 to cancel the space automatically added when print items are separated by commas. Display commas as needed for values over $1,000.

C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter5: Repetition Statements
Section5.5: A Closer Look: Loop Programming Techniques
Problem 15E: (Program) Write a program to simulate the rolling of two dice. If the total of the two dice is 7 or...
icon
Related questions
Question

In python, Write a program that prompts for an odd integer that is between 50 and 100, inclusive. Use just one if expression with logical operators to test the input. Reply positively or negatively as appropriate.

 

  • Start each program with your name and SPC ID# in a comment.
  • Plan each program by writing pseudocode. Write all of your pseudocode as comments immediately after your name and SPC ID#. 
  • Add more comments as needed in each program to explain your code.
  • Choose descriptive variable names in all programs.
  • Currency format. There should be no space between the $ sign and the first digit. See sep on page 66 to cancel the space automatically added when print items are separated by commas. Display commas as needed for values over $1,000.

 

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 5 steps with 3 images

Blurred answer
Knowledge Booster
Constants and Variables
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr