Skip to content
Pooja Bhatia Classes Hari Nagar
  • We teach following classes
    • Class 12
    • Class 11
    • Class 10
    • Class 9
  • Sumita Arora IP/CS Solutions
  • Jobs/Internship
Pooja Bhatia Classes Hari Nagar

sa 11 ip chapter 5

18. Given three numbers A, B and C, write a program to write their values in an ascending order. For example, if A = 1,2, B = 10, and C =15, your program should print out : Smallest number = 10 Next higher number = 12 Highest number = 15

sa 11 cs chapter 8, sa 11 ip chapter 5 / PythonCSIP CS IP

a, b, c = map(int, input().split()) if a > b: if b > c: ans = [a, b, c] elif c > a: ans = [c, a, b] else: ans = [a, c, b] else: if a > c: ans = [b, a, c] elif c > b: ans = [c, b, a] else: ans […]

18. Given three numbers A, B and C, write a program to write their values in an ascending order. For example, if A = 1,2, B = 10, and C =15, your program should print out : Smallest number = 10 Next higher number = 12 Highest number = 15 Read More »

17. Write a program using nested loops to produce a rectangle of *’s with 6 rows and 20 *’s per row.

sa 11 cs chapter 8, sa 11 ip chapter 5 / PythonCSIP CS IP

# Output

17. Write a program using nested loops to produce a rectangle of *’s with 6 rows and 20 *’s per row. Read More »

Post pagination
← Previous 1 … 23 24 25 … 42 Next →
  • We teach following classes
    • Class 12
    • Class 11
    • Class 10
    • Class 9
  • Sumita Arora IP/CS Solutions
  • Jobs/Internship
  • We teach following classes
  • Sumita Arora IP/CS Solutions
  • Jobs/Internship

Copyright © 2025 Pooja Bhatia Classes Hari Nagar | Powered by Pooja Bhatia Classes Hari Nagar.