Class IX Assignment - 2023
Class IX Assignment - 2023
Program 1.
Write a program to input any triple digit number and perform the following action on that:
Program 2.
Write a program to input any three different numbers and perform the following action on them:
Program 3.
Write a program to input the measurement in feet and convert it into (i) Yard (ii) Inch
Program 4.
Write a program to input three numbers and find their sum, without using the mathematical operator +.
Program 5.
Write a Menu driven program (Using Switch-Case) to input any two numbers and display the Menu. Program
should perform according to the menu displayed. Program should display an appropriate message if the input is
an option not specified in the menu.
76
------------MENU-------------
Program 6.
Write a program to input the kilometer travelled and display the bus fare according to the chart given.
Program 7.
Write a program to input any number and check whether it is a palindrome number or not. A palindrome
number is a number whose reverse is same as the original number. For Example 151 is a palindrome number if
we reverse 151 it remains same.
Program 8.
----------MENU----------
Program should display an appropriate message if the input is an option not specified in the menu.
Program 9.
Write a program to input the temperature in Celsius and display the temperature in Fahrenheit.
Program 10.
Write a program to input 3 sides of a triangle and check whether it is an equilateral triangle or an isosceles or it
is a scalene.
Program 11.
Write a program to input any 10 numbers using loop and then print the total of all the even and odd numbers
inputted
Program 12.
Write a program to generate first 10 numbers in Fibonacci series. Fibonacci series is a series which begins with
0 and 1, the subsequest numbers in the series is generated by adding the previous two numbers.
Example :- 0, 1, 1, 2, 3…….
Program 13.
Write a program to input two numbers and display a choice to get the L.C.M or H.C.F. of the numbers.
Program 14.
Write a program to input any number and check whether it is a DUCK number or not. A Duck number is a
positive number which has zeroes present in it, For example 3210, 8050896, 70709 are all Duck numbers.
Program 15.
Write a program to input any number and check whether it is a BUZZ number or not. A Buzz number is a
number which either ends with 7 or is divisible by 7.
Program 16.
(v) 1
2 3
4 5 6
7 8 9 10
11 12 13 14 15
NAME:- XXXXXXXXX XXXXX
SESSION: 2021-22