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 cs chapter 8

19. Ask the user to enter a temperature in Celsius. The program should print a message based on the temperature :

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

# Code

19. Ask the user to enter a temperature in Celsius. The program should print a message based on the temperature : Read More »

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 »

Post pagination
← Previous 1 … 21 22 23 … 38 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.