Write a program to find the sum of digits of a number

Assignment Help Basic Computer Science
Reference no: EM131107788

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

Reference no: EM131107788

Questions Cloud

Should state g impose anti-dumping duties on snicker : The Snicker Company, the largest manufacturer of Snickerdoodles in State F, decided about two years ago to enter the cookie market in State G. Several small companies in State G manufacture Snickerdoodles, but the market has traditionally been very s..
Describe how the cold war was fought by each superpower : Describe how the Cold War was fought by each superpower. Analyze the policy of containment and explain the domino theory. Evaluate Harry Truman's domestic policies. Which parts of it reflected the New Deal?
Provide substantive conclusion and recommendations : Analyze political, social, ethical, and legal differences facing both organizations and determine the impact these differences have on management decision making
Write a program to find the sum of digits of a number : 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
How many reflections will the light make before exiting : how many reflections will the light make before exiting this "hall"?
Key characteristics of the fall of the roman empire : What were the key characteristics of the fall of the Roman Empire? To what extent was the Byzantine Empire a continuation of the Roman Empire? How did the fall of Rome affect Western Europe
Countries with much lower labor and manufacturing costs : Here's some background info. A company's duty to operate honorably, provide good working conditions for employees, be a good steward of the environment, and actively work to better the quality of life in the local communities where it operates and in..
What standards for adults and what standards for juveniles : Are investigators held to a different standard when questioning juveniles in police custody? What are the standards for adults and what are the standards for juveniles?

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd