Hey, Visitor
Join us by signing up or logging in!

You will get:

Advanced Features

Log in to add your own code, and customize your profile. It's Free!

View Codes set to 'Only users' visibility

Some codes are uploaded with visibility rights only to the logged in users. If the user is anonymous, then only codes set to 'Public' visibility would be visible!

Save codes as Private

Codes saved with visibility set to 'Private' wouldn't be visible to anyone other than you!

Rate Codes

Logged in users can rate the codes!

Interact using reactions!

Its fun rating your friends code with emojis!

Comment at the code!

Have your confusions cleared thorugh the comments!

Log in

Until then, you can view the feed!

Feeds for you

darpan.kattel

Darpan Kattel

• April 15, 2024, 12:34 p.m.

AQI calculation using python-aqi in Python

...

python

View Code
darpan.kattel

Darpan Kattel

• June 12, 2022, 1:27 p.m.

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

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

C++

View Code
dipen.pandit

Dipen Pandit

• April 21, 2022, 2:58 p.m.

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

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

C

View Code
dipen.pandit

Dipen Pandit

• April 21, 2022, 2:47 p.m.

Program to find hcf and lcm

for eg: hcf of 8 and 12 = 4 and lcm = 24

C

View Code
dipen.pandit

Dipen Pandit

• April 21, 2022, 2:29 p.m.

Program to calculate nth term of a fibonacci series

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

C

View Code
dipen.pandit

Dipen Pandit

• April 21, 2022, 2:21 p.m.

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

C

View Code
dipen.pandit

Dipen Pandit

• April 21, 2022, 2:11 p.m.

Program to calculate the roots of quadratic equation

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

C

View Code
dipen.pandit

Dipen Pandit

• April 21, 2022, 2:03 p.m.

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

C

View Code
dipen.pandit

Dipen Pandit

• April 21, 2022, 11:28 a.m.

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

C

View Code
dipen.pandit

Dipen Pandit

• April 21, 2022, 10:12 a.m.

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

C

View Code
dipen.pandit

Dipen Pandit

• April 21, 2022, 12:09 a.m.

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

C

View Code
darpan.kattel

Darpan Kattel

• April 16, 2022, 3:59 p.m.

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

C

View Code
darpan.kattel

Darpan Kattel

• Jan. 2, 2022, 7:25 p.m.

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"

C

View Code
darpan.kattel

Darpan Kattel

• Jan. 2, 2022, 7:24 p.m.

Write a program to sort given 10 numbers in ascending order.

Question from IOE exam

C

View Code
darpan.kattel

Darpan Kattel

• Jan. 2, 2022, 7:13 p.m.

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

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

C

View Code
darpan.kattel

Darpan Kattel

• Jan. 2, 2022, 7:11 p.m.

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

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

C

View Code
darpan.kattel

Darpan Kattel

• Jan. 2, 2022, 7:07 p.m.

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

A simple program that I solved in C.

C

View Code
darpan.kattel

Darpan Kattel

• Jan. 1, 2022, 6:12 p.m.

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

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

C

View Code