Program to convert this temperature in centigrade degree

Assignment Help Data Structure & Algorithms
Reference no: EM131092144

1. Ramesh basic salary is input through keyboard his da is 40% of basic salary and hra is 20% of basic salary. Draw a flow chart; write an algorithm and program in c to calculate gross salary.

2. Temperature of city in Fahrenheit degree is input through the keyboard Draw a flow chart; write an algorithm and program to convert this temperature in centigrade degree.

3. Draw a flow chart; write an algorithm and program in c to find the largest of three numbers.

4. Draw a flowchart, write an algorithm and program in c to check whether the entered no is prime or not.

5. Draw a flow chart, write an algorithm and program in ‘C' to calculate total marks, percentage of students, if marks obtained by students are input through keyboard and max marks can be obtained by students in each subjects are 100 show grade as:
• If per obtained >=85 grade 'A'
• If per obtained is >=70 grade 'B'
• If per obtained is >=55 grade 'C'
• If per obtained is >=40 grade ‘D'
• If per obtain is <40 grade 'E'.

6. Draw a flowchart, write an algorithm and program in ‘C' to find sum of all digits of a four-digit number entered through keyboard.

7. Draw flowchart, write algorithm and program to check whether the number is Armstrong or not.

8. Draw flowchart, write an algorithm and a program in c to print the following pyramid.
*
* *
* * *
* * * *

9. Draw a flowchart, write an algorithm and menu driven program in c, which has the following options
• Factorial of a number.
• Odd or even
• Exit

10. Draw flowchart, Write algorithm and program for function to obtained prime factors of the inputted integer. (Prime factor of 24 is 2,2,2,3).

11. Draw a flowchart, write an algorithm and a program in ‘C' to print Fibonacci numbers (0,1,1,2,3,5,8,13).

12. Write a function power to calculate the value of ‘a' raised to ‘b'.

13. Draw a flowchart write a program in ‘C' to compute factorial of a given number using recursion.

14. Draw a flowchart write a program in c to check whether the entered year is leap year or not using function.

15. Draw a flowchart write a program in c to exchange values of two-integer variable using call by reference.

16. Draw a flowchart; write an algorithm and program in c to find the largest and smallest element of an array.

17. Draw a flowchart; write an algorithm and program in c to sort the given array in ascending order.

18. Draw a flow chart; write an algorithm and a program in ‘C' to print sum of rows and columns of 3x3 matrix.

19. Draw a flowchart and write a program to find the sum of two 3 X 3 Matrix.

20. Draw a flowchart, write an algorithm and a program in ‘C' to accept values in an array and print sum of all elements of an array Using pointers.

21. Draw a flowchart; write an algorithm and a program in ‘C' to search an element in an array by linear search.

22. Draw a flowchart, write an algorithm and a program in 'C' to convert the upper case letters of a string to the lower case letters and vice versa without using library function.

23. Draw flowchart; write an algorithm and a program in ‘C' to check a user-entered string for palindrome.

24. Write a program in ‘C' to create the structure having fields empno, empname and basicsal calculate HRA, DA, and net salary on the basic salary.
Net sal = basicsal+da+hra.
hra = 30% of basic sal.
da = 20% of basic sal.

25. Write a program in ‘C' to read and write a character from a file using fgetc() and fputc() function.

26. Write a program in ‘C' to copy a file character by character.

27. Draw flowchart, write algorithm and program to insert an element at specified position in a single dimensional array.

28. Draw flowchart, write algorithm and program to delete an element from specified position in a single dimensional array.

29. Write a program to read and print record of n students using arrays with structure where structure of student consists of rollno and name.

30. Draw flowchart, Write program to illustrate use of fwrite() and fread().

Reference no: EM131092144

Questions Cloud

Explain different types of operators used in oracle : Assignment 1:Ques1. Explain different types of operators used in ORACLE.Ques2. Explain the following commands with an example:
Develop chart that lists theo characteristics of congenital : Develop a chart that lists theo characteristics of congenital heart defects, blood disorders, asthma, cystic fibrosis, insulin-dependent diabetes mellitus, chronic renal failure, childhood cancer, and congenital and acquired infectious diseases.
Effect of the current value and trajectory : The effect of the current value, and trajectory, of the Yuan on the US and world economies. The theoretical arguments for changes to the Chinese exchange rate regime, including accelerated revaluation and/or allowing a free float
Generalized by introducing a third parameter : The two-parameter gamma distribution can be generalized by introducing a third parameter g, called a threshold or location parameter: replace x in (4.8) by x - g and  This amounts to shifting the density curves in Figure 4.27 so that they begin the..
Program to convert this temperature in centigrade degree : Temperature of city in Fahrenheit degree is input through the keyboard Draw a flow chart; write an algorithm and program to convert this temperature in centigrade degree.
Applications of the forecasting methods : A disaster is a serious disruption of the functioning of a community or a society involving widespread human, material, economic or environmental losses and impacts
Calculate the change in income : Show graphically what happens when lump sum taxes are increased. Clearly indicate the distance of the curve shifts, and the amount of the income change. Is the effect of lump sum taxes on income greater or less in this model, as compared to the si..
Create a emp table with empno : 1.Create a emp table with empno, ename,job,sal  And solve the following query
Simulation case study-phoenix boutique hotel group : Review "Simulation Case Study: Phoenix Boutique Hotel Group" for this topic's case study, in which you provide guidance to Phoenix Boutique Hotel Group (PBHG) founder Bree Bristowe.

Reviews

Write a Review

Data Structure & Algorithms Questions & Answers

  Algorithms to insert entry into list and find entry in list

In array is pointer to linked list of nodes each of which starts with corresponding letter. Write algorithms to insert the entry into list and to find entry in the list.

  Prepare the pseudo code for given algorithm

They alternate: dark, light, dark, light, and so on. You want to get all the dark disks to the right-hand end, and all the light disks to the left-hand end.

  How to move from any spanning tree to other spanning tree

Illustrate that it is possible to move from any spanning tree T to any other spanning tree T0 by performing series of edge-swaps, that is, by moving from neighbor to neighbor.

  Questionm about distributed database

Explain what a distributed database is and how replication works with respect to managing the information in these databases.

  Show how to compute prefix sum in constant time using pram

Given a sequence of numbers {a1, a2, ... , an}, show how to compute the prefix sum in constant time using PRAM. Which PRAM is used, how many processors are needed, and what is the cost of this algorithm?

  In this assignment you will write an essay on protein

in this assignment you will write an essay on protein requirements. begin by performing an internet search for high

  Code division multiple access (cdma)

Last week we examined the multiple access problem and its solutions. This week, as part of our study of wireless and mobility, we are considering another solution to the same problem, namely Code Division Multiple Access (CDMA).

  Determine order of operations for seq search algorithm

Determine the order of operations for this Seq Search algorithm. Best case and worse case and why - Find the order of operations for this Search algorithm. Prepare a proper algorithm for this problem and how to complete it.

  They have collected by interviewing members of a village.

An efficient algorithm is proposed to do this: either it produces proposed dates of birth and death for each of the n people so that all the facts hold true, or it reports (correctly) that no such dates can exist. That is the facts collected by th..

  Implements a method that receives an array parameter

Continue to properly document your source code. Write this program as if you were explaining it to someone new to arrays. Fully document your code in such a way newcomers to Java will understand and be able to implement a Java array.

  Decision tree learninga describe the main steps in the

decision tree learninga describe the main steps in the basic decision tree learning algorithm. the table below contains

  What is the time complexity of your algorithms in a and b

Suppose you do not know what k is. Give an algorithm to find the largest number in A.

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