Microsoft Visual C#
7th Edition
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Joyce, Farrell.
Chapter4: Making Decisions
Section: Chapter Questions
Problem 1RQ: What is the output of the following code segment?inta=3,b=4;if(a==b);Write(X);Write(Y); X Y XY...
icon
Related questions
Question

Using the Python language answer the following questions below. Please tell me what program you use if it is IDLE or Atom or a python website please provide the website you use.

 

Implement the following:
1) Use a loop to print all the numbers of multiples of 7 and multiples of 11 from 111 to 777 inclusive.
2) Use a loop to print all the numbers of multiples of 7 and multiples of 11 from 777 to 111 inclusive.
Make sure to precisely match the output format below.
Write your code in the ANSWER area provided below (must include comments if using code is not covered in the course).
Example Output
154 | 231 | 308 | 385 | 462 | 539 | 616 | 693 | 770||
770 | 693 | 616 | 539 | 462 | 385 | 308 | 231 | 154 |
Transcribed Image Text:Implement the following: 1) Use a loop to print all the numbers of multiples of 7 and multiples of 11 from 111 to 777 inclusive. 2) Use a loop to print all the numbers of multiples of 7 and multiples of 11 from 777 to 111 inclusive. Make sure to precisely match the output format below. Write your code in the ANSWER area provided below (must include comments if using code is not covered in the course). Example Output 154 | 231 | 308 | 385 | 462 | 539 | 616 | 693 | 770|| 770 | 693 | 616 | 539 | 462 | 385 | 308 | 231 | 154 |
Expert Solution
steps

Step by step

Solved in 3 steps with 2 images

Blurred answer
Knowledge Booster
Introduction to computer system
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
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning