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

A write an array implementation of self-adjusting lists in

a. Write an array implementation of self-adjusting lists. In a self-adjusting list, all insertions are performed at the front. A self-adjusting list adds a find operation, and when an element is accessed by a find, it is ...

Programming assignment- in this assignment you are

Programming Assignment- In this assignment you are requested to write a C++ program that displays the following colored pyramid on the screen: - The pyramid is 71 characters wide and 21 characters high. - To draw it, you ...

Descriptionnbspin this assignment you will write a c

Description:  In this assignment you will write a C++ program that finds the kth largest number among a set of N numbers. It will implement the solution using two different algorithms and measure the time elapsed during ...

Write a program that calculates mileage reimbursement for a

Write a program that calculates mileage reimbursement for a salesperson at a rate of $0.35 per mile. Your program should interact with the user in this manner: MILEAGE REIMBURSEMENT CALCULATOR Enter beginning odometer re ...

Write an application that allows the user to enter two

Write an application that allows the user to enter two variables: number (real) and code (character). Calculate the value indicated by the table below: If code is Result A symbol the whole part of the number everything e ...

Computer programmingobjectives1 opening a file reading from

Computer Programming Objectives: 1. Opening a file, reading from file, writing to a file and closing a file. 2. Sequential access files handling. 3. Practice C++ programming problems. Note: Carefully read the following i ...

Objectives- gain experience with if if else and switch

Objectives - Gain experience with if, if else, and switch statements in C programs. - Experience using % operator and true false logic. Hints This program will be MUCH easier if you design how to do the logic in your own ...

Ipo chartinputprocessingoutputmarks for four

IPO Chart Input Processing Output Marks for four courses Processing Item: Grade Point and Grade for individual course Overall GPA Algoritham Initialize gp with zero Repeat  for (each course)                 Enter the mar ...

Problem 1overview for problem 1a of this assignment you

Problem #1 Overview: For problem 1(a) of this assignment, you will need a C++ compiler. In order to receive credit, your program must compile and run; and you must provide the actual source code file so that I can compil ...

Programming assignment-1 program specification1 your

Programming Assignment- 1. Program Specification 1. Your program must read 8-bit ASCII strings from standard input -- for instance, using the cin object in C++, or stdin in C. You must consume all input from standard inp ...

  • 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

A cola-dispensing machine is set to dispense 9 ounces of

A cola-dispensing machine is set to dispense 9 ounces of cola per cup, with a standard deviation of 1.0 ounce. The manuf

What is marketingbullwhat is marketing think back to your

What is Marketing? • "What is marketing"? Think back to your impressions before you started this class versus how you

Question -your client david smith runs a small it

QUESTION - Your client, David Smith runs a small IT consulting business specialising in computer software and techno

Inspection of a random sample of 22 aircraft showed that 15

Inspection of a random sample of 22 aircraft showed that 15 needed repairs to fix a wiring problem that might compromise

Effective hrmquestionhow can an effective hrm system help

Effective HRM Question How can an effective HRM system help facilitate the achievement of an organization's strate