Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask C/C++ Expert


Home >> C/C++

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().

C/C++, Programming

  • Category:- C/C++
  • Reference No.:- M91593265

Have any Question?


Related Questions in C/C++

Project - space race part a console Project - Space Race Part A: Console Implementation

Project - Space Race Part A: Console Implementation INTRODUCTION This assignment aims to give you a real problem-solving experience, similar to what you might encounter in the workplace. You have been hired to complete a ...

1 implement the binary search tree bst in c using the node

1. Implement the Binary Search Tree (BST) in C++, using the Node class template provided below. Please read the provided helper methods in class BST, especially for deleteValue(), make sure you get a fully understanding ...

Assign ment - genetic algorithmin this assignment you will

ASSIGN MENT - GENETIC ALGORITHM In this assignment, you will use your C programming skills to build a simple Genetic Algorithm. DESCRIPTION OF THE PROGRAM - CORE REQUIREMENTS - REQ1: Command-line arguments The user of yo ...

Assignment word matchingwhats a six-letter word that has an

Assignment: Word Matching What's a six-letter word that has an e as its first, third, and fifth letter? Can you find an anagram of pine grave. Or how about a word that starts and ends with ant (other than ant itself, of ...

What are the legal requirements with which websites must

What are the legal requirements with which websites must comply in order to meet the needs of persons with disabilities? Why is maximizing accessibility important to everyone?

There are several ways to calculate the pulse width of a

There are several ways to calculate the pulse width of a digital input signal. One method is to directly read the input pin and another method (more efficient) is to use a timer and pin change interrupt. Function startTi ...

Question 1find the minimum and maximum of a list of numbers

Question: 1. Find the Minimum and Maximum of a List of Numbers: 10 points File: find_min_max.cpp Write a program that reads some number of integers from the user and finds the minimum and maximum numbers in this list. Th ...

Software development fundamentals assignment 1 -details amp

Software Development Fundamentals Assignment 1 - Details & Problems - In this assignment, you are required to answer the short questions, identify error in the code, give output of the code and develop three C# Console P ...

Why do researcher drop the ewaste and where does it end

Why do researcher drop the ewaste and where does it end up?

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As