Posts

Write a program to find the octal equivalent of the entered number.

Image
 

Write a program to add first ten terms of the following series using a for loop: 1/1!+1/2!+1/3!+ ⋯.

Image
 

According to a study, the approximate level of intelligence of a person can be calculated using the following formula: i = 2 + ( y + 0.5 x ) Write a program, which will produce a table of values of i, y and x, where y varies from 1 to 6, and, for each value of y, x varies from 5.5 to 12.5 in steps of 0.5.

Image
 

Write a program to enter the numbers till the user wants and at the end it should display the count of positive, negative and zeros entered.

Image
 

Write a program to enter an integer and determine and print whether the integer entered is prime number or composite number. A number is prime if it has exactly two divisors

Image
 

Write a program to print all the ASCII values and their equivalent characters using a while loop. The ASCII values vary from 0 to 255.

Image