Write a program that asks the user to enter an integer and determines whether it is divisible by 5 and
6, whether it is divisible by 5 or 6, and whether it is divisible by 5 or 6 but not both.
Write a program that will sort a list of strings (names of person) enter by the user given the value of n names.
Write a program using two dimensional arrays that determines the highest and lowest of the n numbers inputted.
Write a program that will sort a list of strings (names of person) enter by the user given the value of n names.
Write a program that will sort a list of strings (names of person) enter by the user given the value of n names.
Write a program that will arrange the elements of a 10 integer array in descending order.
Write program using two dimensional arrays that determines the ODD numbers among 10 numbers inputted and prints the list of these ODD numbers.
create a program using one dimensional array that accept five inputted numbers. Then it should accept for a number to be search among the five inputter numbers. If it is found, display the message “searched number is found!”, otherwise “search number is lost!”.
Q#1 Write a C program to accept the height of a person in centimeter and categorize the person according to their height.(IF-ELSE IF)
HEIGHT < 150 = Dwarf
HEIGHT = 150 = Average height.
HEIGHT > = 165 = TALL.
Q#2 Write a program to make decision for the employees ‘salary as under:
Employees’ salary HRA added to the salary DA
Less than Rs. 5000 20% of basic salary of HRA 90% of basic salary DA
Equal to Rs. 5000 or above Rs. 2000 will be added of HRA 95% of basic salary DA
Take input of the employee salary and find the gross salary of the employee based on above conditions.
NOTE: HRA is House Rent Allowance , DA is Dearness Allowance
Finding the total measurements in fleet from a list of 5 numbers