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

Assignmentthis is the programthis program will use 2

Assignment This is the program: This program will use 2 different data structures to perform the same tasks; a vector and a dynamically sized array Write a complete C++ program that will: Declare a vector of integers wit ...

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

Assignment a random mazewrite a new c program with the

Assignment (a) Random Maze Write a new C++ program with the following functionality: The program writes a greeting on the screen. Then the program displays a maze of ASCII symbols on the screen. The maze consists of 8 ro ...

A compiler that translates a high-level language into

A compiler that translates a high-level language into another high-level language is called a source-to-source translator. What advantages are there to using C as a target language for a compiler?

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

Intro to programming in c programming assignmentassignment

Intro to Programming in C Programming Assignment Assignment purpose: User defined functions, pointers, Menu driven program A Company needs to create software for their new line of phone applications. Customers will have ...

Write a c program that requests the name of any cartoon

Write a C program that requests the name of any cartoon character from the user, then does the following with that name (use printf for each): a. Displays it enclosed in double quotes. b. Displays it in a field 24 charac ...

Assignmentwhen writing c programs include comments in your

Assignment When writing C++ programs include comments in your code, make the program readable by indenting, use meaningful variable and function names, and produce meaningful output. This assignment will be to write a bm ...

1 write a c program that includes a function called lobster

(1) Write a C program that includes a function called lobster() that accepts three arguments: a character and two integers. The character argument is the character to be printed by lobster(). The second argument is the n ...

Cosci 21a programming assignmentpurpose experience with

COSCI 21a, Programming Assignment Purpose: Experience with some basic data structures, including circular queues, linked lists, hash tables, and specifically with pointers and the associated dynamic memory allocation. Pr ...

  • 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