Ask Question, Ask an Expert

+1-415-315-9853

info@mywordsolution.com

Ask C/C++ Expert


Home >> C/C++

1. prepare a program to read 3 numbers x, y, z. Use conditional statement and find out values of variables a, b and c. Execute the sum with 2 set of variable. Check the sum for equality and print the sum.

2. prepare a program to shift input data by the 2 bits left and right.

3. prepare a program to employ bitwise “&” operator between 2 integer and display result.

4. prepare a program to input 6 numbers and discover the biggest and smallest using nested if.

5. prepare a program to enter a year and find the number of:

i. Minutes

ii. Hours

iii. Days

iv. Months

v. Seconds

6. prepare a program to find out the sum of even and odd numbers using switch, if, if.else, nested if between 1 and 20.

7. prepare a program to find out the numbers between 1 and 100 that are not divisible by 2, 3 and 5.

8.  prepare a program to enter the character (alphabetical) and display its position and its corresponding ASCII value.

9. prepare a program to simulate the digital clock.

10. prepare a program to find out the sum of its digits until the result is in single digit.

11. prepare a program to print a series:

a. x – x3/3! + x5/5! – x7/7!...... xn/n!

b. 1 + x2/2! – x3/3! + x4/4!....... xn/n!

12. prepare a program to generate following figures:

2017_progrmming.jpg

13. prepare a program to find out factorial of a given number.

14. prepare a program to find sum of the diagonal elements of matrices.

15. prepare function to add, subtract, multiply and divide two complex numbers (x+iy) and (a+ib).

16. prepare a program to find out roots of a quadratic equation with each condition.

17. prepare a program to find out the numbers between 7 and 100 which is exactly divisible by 4 and is divisible by either 5 or 6.

18. prepare a program to convert:

i. Binary to Decimal

ii. Decimal to Binary

iii. Binary to Hexadecimal

19. prepare a program to perform Arithmetic operation on the array that is Addition, Subtraction, Multiplication and Division and store the result in another array.

20. prepare a program to carry out following string operation: with string functions & without string functions

a. Reverse a string

b. Concatinate 2 string – strcat()

c. Compare 2 string – strcmp(), strcmpi()

21. prepare a program to identify the occurrence of the number in a string.

22. prepare a program to admit a string up to 15 character, and display the position of a character in a separate line.

23. prepare a program to display and count number of vowels in a string.

24. prepare a program to generate a palindrome.

25.  prepare a program to add to pointer addresses of a pointer variable.

26. prepare a program to find out factorial of a number using recursion.

27. prepare a program to perform dissimilar arithmetic operations by using pointers

28. prepare a program to get prime factors of any integer number by using functions i.e. 24 -> 2, 2, 2, & 3.

29.  prepare a program to get the sum of 5 digit number:

a. Without using recursion

b. With using recursion.

30. prepare a program to get Fibonacci series by using the recursion.

31. prepare a program to display, create, modify and append a file (sequential file).

32. prepare a program to copy the content of one file to any other.

33. prepare a program to compute space in a file (number of blank spaces and not the file size).

34. prepare a program to print out lines from a file that have 50 or more characters in them.

35. prepare a program to remove the content from a file and print them. The user must be capable to specify the starting position from where the extraction must begin and the number of characters to be extracted.

36. prepare a program to create a structure to admit Firstname, Middlename, Lastname of a person. Display the initials of first and the middle name separated by “.” i.e.

Input – Krishna Kumar Singh
Output – K.K. Singh

Now create a main structure that will hold name, age, salary of an employee.

37. prepare a program to call sum() function recursively and carry out sum of 1 to 5 numbers. (Instead of using the sum() function use the main() function itself to perform the above operation)

38.  prepare a program to find out larger of the two numbers using macro with arg.

39.  prepare a program to count number of character, word and lines in a text file whose name is supplied in the command line.

40.  prepare a program to arrange a list by using any sorting method.

C/C++, Programming

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

Have any Question? 


Related Questions in C/C++

1 create a c visual studio console application with the

1. Create a C++ visual studio console application with the name Project2. (As usual, to make the grader happy, it is critical that your project as well as your zip file contain your name and the exercise or project numbe ...

Programming in cbubba tubs bbq rub is a company that makes

Programming in C++ Bubba Tub's BBQ Rub is a company that makes different BBQ dry rubs and sauces. They make each product when it is ordered with the freshest ingredients and sell it by the unit. A unit is 2 ounces of pro ...

1 we know that from ece 109 to calculate the

1. We know that from ECE 109, to calculate the equivalent resistance of a network of resistors in series in parallel are given by: Write a C++ program that asks the user to input values for resistors (as many as they wou ...

Design implement test and debug a c program to simulate the

Design, implement, test, and debug a C# program to simulate the rolling of two dice 100 times. Whenever the two dice display the same number, the program should show the roll sequence number (e.g. the 10th roll) and the ...

Assignmentgoals developing problem-solving skills declaring

Assignment Goals: Developing problem-solving skills, declaring variables, multi-way branches, data validation. Problem: Complete Programming Challenge 4.19 in your text book. Do not accept values larger than 10 meters or ...

Computer sciencewhere do you think c and coding games in c

Computer Science Where do you think C++ and coding games in C++ is headed in the next five years? How about in the next 10 years? Do you think there are any significant improvements that need to be made to the code to en ...

Write a program to draw a symmetric shape of your own using

Write a program to draw a symmetric shape of your own using C++ user-defined functions and arrays. The program should draw a shape in its original and opposite forms (black and white and then white and black). Please con ...

Write a program that reads numbers from cin and then sums

Write a program that reads numbers from cin and then sums them, stopping when 0 has been entered. Construct three versions of this program, using the while, do - while , and for loops. Add the following to your program: ...

Programming in c assignmentwrite a c program that computes

Programming in C Assignment Write a C program that computes and outputs the current age of the United States in days (you can use 1776 as theUS founding year). You don't have to worry about fractional years or leap years ...

C-programmingcreate a c program that sorts a sequence of

C-Programming Create a C program that sorts a sequence of positive numbers using the bubble sort algorithm in an increasing or decreasing order based on the user's choice. The pseudo code for the bubble sort algorithm is ...

  • 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

Section onea in an atwood machine suppose two objects of

SECTION ONE (a) In an Atwood Machine, suppose two objects of unequal mass are hung vertically over a frictionless

Part 1you work in hr for a company that operates a factory

Part 1: You work in HR for a company that operates a factory manufacturing fiberglass. There are several hundred empl

Details on advanced accounting paperthis paper is intended

DETAILS ON ADVANCED ACCOUNTING PAPER This paper is intended for students to apply the theoretical knowledge around ac

Create a provider database and related reports and queries

Create a provider database and related reports and queries to capture contact information for potential PC component pro

Describe what you learned about the impact of economic

Describe what you learned about the impact of economic, social, and demographic trends affecting the US labor environmen