**Feeds for you**

IOE Pulchowk Campus C++ Labsheet 2, Qsn. 6

IOE Pulchowk Campus C++ Labsheet 2, Qsn. 6. By DS Baral

Rate

Program to calculate the value of cos(x) by expansion

hint: cos(x) = 1 ? x^2/ 2! + x^4/4 !

Rate

Program to calculate nth term of a fibonacci series

for eg: 9th term of a fibonacci series = 7th term + 8th term

Rate

Program to print fibonacci series upto nth term

For eg: A fibonacci series is a series in which each term is the sum of previous two terms i.e. if 1st term = a, 2nd term = b then 3rd term = c = a + b

Rate

Program to calculate the roots of quadratic equation

for eg roots of quadratic equation x²-4x+4=0 are 2 and 2

Rate

Program to calculate product of two matrices

Hint: a matrix multiplication between two matrices of order mxn and pxq is only possible if n=p and the product matrix is of order mxq

Rate

Program to print sum of diagonal of a square matrix

for eg: for a square matrix of order 3x3 the sum of diagonal = a11 + a22 + a33

Rate

Program to find sum and difference of two time periods using structure.

For eg 02: 40:30 + 02:30:23 = 05:10:53 and 02: 40:30 - 02:30:23 = 00:10:07

Rate

A program to check whether a number is a twin prime or not

Two prime numbers are called twin primes if there is present only one composite number between them. For eg 3 and 5 are twin prime as single prime number 4 is present in between them

Rate

A program to check whether the input is a triangular number or not

The numbers formed by the sum of the natural numbers are the triangular numbers. For example, 1, 3=1+2, 6=1+2+3, 10=1+2+3+4

Rate

Create a Structure named student.

Write a program to read a record of 10 students and display only the record of those students whose address is "DHARAN"

Rate

Create a Structure Named student, And Perform Read And Write Operations

Perform read and write operations of Roll number, Name, Age and Address.

Rate

Find the sum of the series, take input of x and n.

(x^0/0!)+(x^1/1!)+(x^2/2!)+...+(x^n/n!)

Rate

WAP in C using structure to add lengths in feet and inch.

A simple program that I solved in C.

Rate

WAP in C to find the largest word in a sentence?

Question From IOE 2075 Regular Ashwin. I found this too hard yet satisfying!

Rate