Month: May 2017

13
May
2017

Returning From Array Function in C

As I am learning I didn’t find the solution yet when I was trying to make a…

13
May
2017

Extract Digits From a Number and Make a Sum of all the digits and show this in C

Code is here: #include<stdio.h> int main() { int number; scanf(“%d”,&number); char digits[2000000]; int i=0,d; while(number>0) { d=number%10;…

12
May
2017

Find Is It Armstrong Number or Not

code by me: #include<stdio.h> #include<math.h> int getTotalDigits(int); int isArmStrong(int,int); int getTotalDigits(int n) { int count=0; while(n>0) {…

12
May
2017

Modular Reusable Code Example in Function

Program to check if it is upper or lowercase if it is then print it or if…

12
May
2017

How to improve Algorithmic Thinking ?

https://www.quora.com/Im-not-good-with-algorithms-and-I-cant-figure-out-a-solution-until-someone-tells-me-How-can-I-fix-this

12
May
2017

Check The Number Is Prime Or Not in C, Easy and Details Explanation

Simple Logic For Finding Prime Number is primarility test is 2 to root of n..Source: Wikipedia The…