Program to convert a octal number to a decimal number


Question 1) Write a program to print whole screen with any character.

Question 2) Write a program to print the factorial of a given number.

Question 3) Write a program to input a number through the keyboard until a ‘.’. Every time a number is entered. The program should display whether it is greater than, less than or equal to the previous number.

Question 4) Write a program to check that given number is prime or not.

Question 5) Write a program to input a number and count its even and odd digits and find out their sum separately.

Question 6) Write a program to generate divisors of an integer.

Question 7) If a number 972 is entered through the keyboard, your program should print “Nine Seven Two”. Write the program such that it does this for any positive integers.

Question 8) A positive integer is entered through the keyboard, along with it the base of the numbering system in which you want to convert this number. WAP to display the number entered the base and the converted number.

Question 9) Write a program to input a number and separate the number in its individual digit and print the digits separated from one another by three spaces each.

Question 10) Write a program to convert a decimal number to equivalent binary number (fractions also).

Question 11) Write a program to convert a decimal number to equivalent octal number.

Question 12) Write a program to convert a decimal number to equivalent hexadecimal number.

Question 13) Write a program to convert a binary number to the decimal number.

Question 14) Write a program to convert a octal number to the decimal number.

Question 15) Write a program to convert a hexadecimal number to the decimal number.

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: Program to convert a octal number to a decimal number
Reference No:- TGS04885

Expected delivery within 24 Hours