An algorithm to find the largest among three different numbers

algorithm

How to start writing algorithm : Step by Step solve the problem Problem Description – Find description of the problem. Problem Analysis – Analyze the problem. Start writing steps to resolve the problem in your language. Re-analyze the steps and try to add more details. Final Review   An algorithm to find the largest among three … Read more

Basic of Algorithm : Start Writing Algorithm

algorithm

Basic of Algorithm : Start Writing Algorithm Algorithm are the set of well defined instruction in sequence to solve a problem. This is a instruction written in English language,  step by step to solve the problem An algorithm should always have a clear stopping point. Inputs and outputs should be defined precisely. Each steps in … Read more

Linear search program in c

Linear search program in c What is linear search or sequential search : Definition of linear search As the name linear search or sequential search, search the number one by one in the specified array or list. linear search or sequential search is a method for finding a target value within a list. It sequentially … Read more

binary search program in C

binary search program in C Overview: C Program for binary search This is a program of binary search in C language. It can only be used for sorted arrays, but it’s fast as compared to linear search. If you wish to use binary search on an array which isn’t sorted, then you must sort it … Read more

C program to find number of days in a month

C Programming Tutorial

C program to find number of days in a month This is a simple program to get number of days in a month. Leap year is not being chacked in the program. This program uses switch case. #include <stdio.h> int main() { int month; int days; printf(“Enter month: “); scanf(“%d”,&month); switch(month) { case 4: case … Read more

Runing Asterisk command from bash script -shell script

bash: #!/bin/sh asterisk -rx ‘command’ if you want to see the result of a command in a file: asterisk -rx ‘command’ > /some_dir/some_file.txt Perl: #!/usr/bin/perl system qq(asterisk -rx ‘command’)

C switch case program to read weekday number and print weekday name

C Programming Tutorial

C switch case program to read weekday number and print weekday name This program will read weekday number (0-6) and print weekday name (Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, and Saturday)   Weekday Number Weekday Name 0 Sunday 1 Monday 2 Tuesday 3 Wednesday 4 Thursday 5 Friday 6 Saturday Program Example: #include <stdio.h> int main() … Read more

webrtc implementation asterisk : Webphone

webrtc implementation on asterisk

webrtc implementation on asterisk with Webphone What is WebRTC WebRTC is a free, open project that provides browsers and mobile applications with Real-Time Communications (RTC) capabilities via simple APIs. The WebRTC components have been optimized to best serve this purpose.The mission of WebRTC is to enable rich, high-quality RTC applications to be developed for the … Read more

C Program to Check Even or Odd number

turbo c++ program editor

C Program to Check Even or Odd number : C Program Example An even number is an integer that is exactly divisible by 2. Example: 2,4,6, 8,10,12,14,16 etc An odd number is an integer that is not exactly divisible by 2. Example: 1, 3,5,7, 9,11, 15,17 etc C Program start from here #include int main() … Read more