codinasion-archive / codinasion-programme Goto Github PK
View Code? Open in Web Editor NEWAn open source codebase for sharing programming solutions.
Home Page: https://codinasion.vercel.app/programme
License: MIT License
An open source codebase for sharing programming solutions.
Home Page: https://codinasion.vercel.app/programme
License: MIT License
Write a c program to swap two numbers without using third variable.
Input: a=10 b=20
Output: a=20 b=10
Write a C programme to compute the X raised to power Y i.e. x^y
Input: 2 3
Output: 8
Input: 3 3
Output: 27
Write a Python programme to calculate simple interest.
P : Principle Amount
T : Time Period
R : Rate of Interest
Enter P : 5000
Enter T : 10
Enter R : 5
Simple Interest : 2500
Write a C programme to find the maximum of numbers.
Input: 2 4 1 16 6
Output: 16
Input: 12 15 5 21
Output: 21
Write a C Programme to print square of a number.
Input : 5
Output : 25
Write a Python program to print sum of digits.
Input: 2332
Output: 10
Input: 23
Output: 5
Write a C programme to print the given pattern.
For n : 3
*
* *
* * *
* *
*
For n : 5
*
* *
* * *
* * * *
* * * * *
* * * *
* * *
* *
*
Write a C programme to add two numbers.
Input: 5 3
Output: 8
Write a Python program to print factorial of a number.
Factorial of N = N * (N-1) * (N-2) * ... * 1
Input : 5
Output : 120
Write a C programme to print first n
even numbers.
Input: 5
Output: 0 2 4 6 8
Write a C programme to print the given pattern.
For n : 5
* * * * *
* * * *
* * *
* *
*
Write a C programme to calculate the average of numbers.
Input: 2 3 4
Output: 3
Input: 1 2 3 4 5
Output: 3
Write a c program to check prime number.
Input : 8
Output : Not prime number
Input : 7
Output : Prime number
Gitalk
not updating on page change.
Write a C programme to calculate simple interest.
P : Principle Amount
T : Time Period
R : Rate of Interest
Enter P : 5000
Enter T : 10
Enter R : 5
Simple Interest : 2500
Write a C programme to compute the value of Euler's Number.
1 + 1/1! + 1/2! + 1/3! + ... + 1/n!
Write a c program to convert decimal number to binary.
Input: 8
Output: 1000
Input: 5
Output: 101
Write a C programme to convert rupee to paise.
Input: 15.95
Output: 1595
Write a Python program to print the pattern.
Input
: 5
Output
:
1
121
12321
1234321
123454321
Write a Python program to convert decimal number to binary.
Input: 8
Output: 1000
Input: 5
Output: 101
Write a c program to print sum of digits.
Input: 2332
Output: 10
Input: 23
Output: 5
Write a C programme to multiply two numbers.
Input: 5 4
Output: 20
Write a c program to print the pattern.
Input
: 5
Output
:
1
121
12321
1234321
123454321
Write a Python program to print Fibonacci series.
Input : 10
Output : 0 1 1 2 3 5 8 13 21 34
Write a c program to print Fibonacci pattern.
Input
: 5
Output
:
1
1 1
1 1 2
1 1 2 3
1 1 2 3 5
Write a Python program to check palindrome number.
Input : 123
Output : Not palindrome number
Input : 121
Output : Palindrome number
Write a c program to check palindrome number.
Input : 123
Output : Not palindrome number
Input : 121
Output : Palindrome number
Write a C programme to print the given pattern.
For n : 3
x x x
x x
x x x
For n : 5
x x x x x
x x
x x
x x
x x x x x
Write a python programme to print Hello World !!!
Hello World !!!
Write a C program to print fibonacci series without using recursion.
Input : 10
Output : 0 1 1 2 3 5 8 13 21 34
Write a Python program to print multiplication of 2 matrices.
First matrix
1 1 1
2 2 2
3 3 3
Second matrix
1 1 1
2 2 2
3 3 3
Product matrix
6 6 6
12 12 12
18 18 18
Write a Python program to check Armstrong number.
Armstrong number is a number that is equal to the sum of cubes of length of its digits.
0
= 0^1
1
= 1^1
153
= 1^3 + 5^3 + 3^3
370
= 3^3 + 7^3 + 0^3
9474
= 9^4
+ 4^4
+ 7^4
+ 4^4
Input: 153
Output: armstrong number
Input: 121
Output: not a armstrong number
Write a Python programme to multiply two numbers.
Input: 5 4
Output: 20
Write a c program to convert number to strings.
Input: 51
Output: five one
Input: 201
Output: two zero one
Write a Python program to print reverse of a given number.
Input: 1234
Output: 4321
Input: 6512
Output: 2156
Write a Python program to print the pattern.
For n=3
A
ABA
ABCBA
For n=5
A
ABA
ABCBA
ABCDCBA
ABCDEDCBA
Write a C programme to calculate the sum of following harmonic series for a given value of n
.
1 + 1/2 + 1/3 + 1/4 + ... + 1/n
Write a C programme to print Hello World !!!
Hello World !!!
Write a c program to swap two numbers.
Input: a=10 b=20
Output: a=20 b=10
Write a c program to check armstrong number.
Armstrong number is a number that is equal to the sum of cubes of length of its digits.
0
= 0^1
1
= 1^1
153
= 1^3 + 5^3 + 3^3
370
= 3^3 + 7^3 + 0^3
9474
= 9^4
+ 4^4
+ 7^4
+ 4^4
Input: 153
Output: armstrong number
Input: 121
Output: not a armstrong number
Write a C programme to find the minimum of numbers.
Input: 2 21 34 1 78 0 3
Output: 0
Input: 12 6 7 3 5
Output: 3
Write a c program to print the pattern.
For n=3
A
ABA
ABCBA
For n=5
A
ABA
ABCBA
ABCDCBA
ABCDEDCBA
Write a Python program to print Fibonacci pattern.
Input
: 5
Output
:
1
1 1
1 1 2
1 1 2 3
1 1 2 3 5
Write a c program to print multiplication of 2 matrices.
First matrix
1 1 1
2 2 2
3 3 3
Second matrix
1 1 1
2 2 2
3 3 3
Product matrix
6 6 6
12 12 12
18 18 18
Write a Python program to swap two numbers.
Input: a=10 b=20
Output: a=20 b=10
Write a c program to print reverse of a given number.
Input: 1234
Output: 4321
Input: 6512
Output: 2156
Write a c program to print factorial of a number.
Factorial of N = N * (N-1) * (N-2) * ... * 1
Input : 5
Output : 120
Write a Python programme to add two numbers.
Input: 5 3
Output: 8
Write a c program to print fibonacci series using recursion.
Input : 10
Output : 0 1 1 2 3 5 8 13 21 34
Write a Python program to check prime number.
Input : 8
Output : Not prime number
Input : 7
Output : Prime number
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.