Ask Question, Ask an Expert

+1-415-315-9853

info@mywordsolution.com

Ask C/C++ Expert


Home >> C/C++

problem 1) prepare a program to print the sum of negative numbers, sum of positive even numbers and sum of positive odd numbers from a list of numbers entered by the user.

problem 2) prepare a program to print the largest even number and largest odd number from the list of numbers entered through keyboard.

problem 3) prepare a program to determine all Pythagorean triplets in the range 100 to 1000.

(A Pythagorean triplet is a set of three integers i, j, k such that i2+ j2= k2)

problem 4) prepare a program to print the following series:

(1) 2, 4, 8, 16, 32, 64, 128, 256

(2) 1, 4, 7, 10, …………… 40

(3) 1, -4, 7, -10……………-40

(4) 1, 5, 11, 19, 29 ……..

(5) (1)+(1+2)+(1+2+3)+(1+2+3+4)…………..up to n terms

(6) (2) + (2+4) + (2+4+6) + (2+4+6+8)………….up to n terms.

(7) (1) + (1+3) + (1+3+5) + (1+3+5+7)…………..up to n terms

(8) (12) + (12+32)+(12+32+52)+(12+32+52+72)…….up to n terms

(9) (22) + (22+42) + (22+42+62)+(22+42+62+82)………up to n terms

problem 5) prepare a program to find out the root of quadratic equation.

problem 6) prepare a menu driven program which has following options:

1.Factorial of a number.

2.Prime or Not

3.Odd or even

4.Exit

problem 7) prepare a program to input a number and print its reverse number. Also check that the number is palindrome or not.

problem 8) prepare a program to input a number and find out the sum of its digits.

problem 9) prepare a program to find out the count of the digits of a given integer.

problem 10) prepare a program to print the Fibonacci series.

problem 11) WAP to print the truth table for XY+Z.

problem 12) WAP to print the factorial of all the numbers till the given number.

problem 13) prepare a program to print the tables of all the numbers till the given number.

problem 14) prepare a program to input month number and year and print the calendar for the given month.

problem 15) prepare a program to find out the difference between two dates, in terms of days, months and years.

C/C++, Programming

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

Have any Question? 


Related Questions in C/C++

Cs 2410workshop make-up assignmentwrite a c program that

CS 2410 Workshop Make-Up Assignment Write a C++ program that will output to a file called output.txt EVERY 10 digit phone number from 713-000-0000 through 713-000-0998. These numbers MUST only contain an odd number of ev ...

Intro to programming in c assignmentsince this is the last

Intro to Programming in C Assignment Since this is the last assignment, there will be no late submission. All programs must be electronically submitted by 5:00pm on Tuesday, December 2nd with NO EXCEPTIONS in order to re ...

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

C projectphase 11- you need to take input from user study

C project Phase 1 1- You need to take input from user study year (proper value check from 1 to 4) 2- Take input semester (proper value check 1 to 8) 3- Calculate GPA (use Loop, calculate GPA for semester 1,2,3...) Exampl ...

Writing a c code its a beginner level code design a class

Writing a C++ code, its a beginner level code. Design a class house that defines a house on a street. A house has a house number and an (x,y) location, where x and y are numbers between -10 and 10. the key member is plot ...

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

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

Assignmentinstructionsthis assignment is to implement your

Assignment Instructions This assignment is to implement your own mini-grocery store in C++. Suppose you have the following Food hierarchy: FOOD FRUIT APPLE BANANA GRAPE DAIRY MILK YOGURT CHEESE (your choice) (three items ...

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

Bankers algorithmimplement the bankers algorithm for

Banker's Algorithm Implement the Banker's algorithm for deadlock avoidance, that works on a given set of N processes and M resource types (N The input data and result is then displayed on the screen. You may use your pro ...

  • 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