Ask Question, Ask an Expert


Ask C/C++ Expert

Home >> C/C++

problem 1) prepare a program to convert a octal number to binary number.

problem 2) prepare a program to convert a hexadecimal number to the binary number.

problem 3) prepare a program to generate all combinations of 1, 2 and 3.

problem 4) prepare a program to find out the LCM and GCD of two given numbers.

problem 5) prepare a program to find out the least common divisor of two integers

problem 6) prepare a program to check whether square root of a number is prime or not.

problem 7) Input two numbers from the keyboard. prepare a program to find the value of one number raised to the power of another.

problem 8) prepare a program to print all the ASCII values and their equivalent characters. The ASCII values vary from 0 to 255.

problem 9) prepare a program to check that given number is Armstrong number or not. ( if the sum of the cubes of each digits of the number is equal to the number itself, then the number is called the Armstrong number. For ex, 153 = (1*1*1) + (5*5*5) + (3*3*3).

problem 10) 145 is a special number, since it satisfies the following relation:

145 = 1! + 4! + 5! = 1+24+120 =145

WAP to print all the numbers of this kind between 1 – 1000000.

problem 11) prepare a program to find out the sum of geometric series.

problem 12) prepare a program to print out all Armstrong numbers between 1 and 500.

problem 13) Square of 12 is 144. 21, which is a reverse of 12 has a square 441, which is same as 144 reversed. There are few numbers which have this property. prepare a program to find out whether any more such numbers exist in the range of 10 to 100.

problem 14) prepare a program to find out the difference between two dates in terms of numbers of days.

problem 15) prepare a program to input n numbers and find out the sum, average, maximum and minimum of the given numbers. (use only one variable to input the number and also find the second largest).

C/C++, Programming

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

Have any Question? 

Related Questions in C/C++

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

Assessment taskthis coursework will allow you to

Assessment Task: This coursework will allow you to investigate some of the issues involved in writing threaded programs. You are to write a series of simple programs in C/C++ that will run under Linux, to illustrate how ...

Assignmentconsider the following declarationsclass

Assignment Consider the following declarations: class bagType { public: void set(string, double, double, double, double); void print() const; string getStyle() const; double getPrice() const; void get(double, double, dou ...

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

Transaction processing system tpsxyz electronics is one of

Transaction Processing System (TPS) XYZ Electronics is one of the most popular electronics companies In Sultanate of Oman the company offers affordable electronic gadgets such as mp3 players, portable movie players, mobi ...

Create your own unique while-end repetition structure you

Create your own unique While-End repetition structure. You decide the theme. You should provide both the pseudocode and the flowchart of your example. Be sure to provide an overview of what your repetition structure is d ...

Write a c program that prompts the user to enter a line of

Write a C program that prompts the user to enter a line of text (up to 50 characters). It should then convert the text entered to uppercase letters and then to lowercase letters, and then to Sentence case. Your program s ...

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

Discussionkeyboard versus file input please respond to the

Discussion "Keyboard versus File Input" Please respond to the following: • Suppose you are designing a C++ application that needs to capture user input specifically via a keyboard or from a file. Determine the method tha ...

Assignmentpart acomplete the following questionswrite c

Assignment Part A Complete the following questions: Write C++ code to open a document with the name Hello.txt, place the message "Hello, World!" in the document, and exit the document. Re open the file you closed, and re ...

  • 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