1 write a program to find the sum of digits of a number 5 2


1. Write a program to find the sum of digits of a number 5

2. Write a program to check a string is a palindrom or not 5

3. Write a program to add, subtract and multiply 2 Matrices 10

4. What are structures ? 5

5. Create an array of structure to hold the following information of 10 employees 10

EmpID

 First Name

 Last Name

 Dept

 Date of Join

 Salary

6. Sort the above array of structure in ascending order of EmpID 10

7. Search the above array for occurance of a particular EmpID and display the record 10

8. Write a program to create a file, read the file and display the contents 10

9. Write a program to solve the following problem 10 Area of a rectangle with sides as whole numbers, is 8 times its perimeter.

What are the sides. Is there only one combination of sides possible ?

If more than one combination is available, what are those ?

10. Write a program to solve the following problem 10

A pet selling center sells pets at the following rates.

A dog costs $ 10.00, a cat costs $ 3.00 and a rabbit costs $ 0.50.

A customer has 100 dollars and he needs 100 pets. How many of each to be sold ?

11. Write a program to generate 5000 counts of different part numbers with the following features: 15

  1. 1 st , 2 nd and 3 rd characters may beupper case letters except I, O, U
  2. 4 th and 5 th characters may be digits except 0 and 1
  3. 6 th character may be a lower case letter except i, l, o and u.
  4. 7 th and 8 th put togather makes a numeric value between 10 and 49

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: 1 write a program to find the sum of digits of a number 5 2
Reference No:- TGS01485782

Expected delivery within 24 Hours