Write a C program to calculate the distance between two cities

C Programming Tutorial

Problem Statement: The distance between two cities (in km.) is input through the keyboard. Write a C program to convert and print this distance in meters, feet, inches and centimeters. Answer: /* Conversion of distance */ #include <stdio.h> #include <conio.h> main() { float km, m, cm, ft, inch; clrscr(); /* To clear the screen */ … Read more

if else statement in c

C Programming Tutorial

The if statement by itself will execute a single statement, or a group of statements, when the expression following if evaluates to true. It does nothing when the expression evaluates to false. Can we execute one group of statements if the expression evaluates to true and another group of statements if the expression evaluates to … Read more

LeEco exchange offers

flipkart_eduguru

Click Here toBuy on Flipkart    LeEco, formerly known as LeTv, has announced LeEco Day part 2 where it is offering exchange deals on its budget Le 1s and high-end Le Max smartphone. LeEco Day sales will be today and tomorrow (April 8) on Flipkart, which is the exclusive retail partner for the LeEco smartphones in … Read more

Asterisk dialplan function GotoIf : Asterisk command gotoif

asterisk dialplan command gotoif

The GotoIf( ) Application GotoIf( ) uses a special syntax, often called the conditional syntax: GotoIf(expression?destination1:destination2) If the expression evaluates to true, the caller is sent to the first destination. If the expression evaluates to false, the caller is sent to the second destination. So, what is true and what is false? An empty string … Read more

How Google Engineering Manages Downtime

Google

Each Google product has a service level agreement (SLA) that dictates how much downtime the product can have in a given month or year. Take 99.9% uptime, for example: That allows for 43 minutes of downtime per month, or about 8 hours and 40 minutes per year. That 8 hours and 40 minutes is what … Read more

write a C program to calculate the sum of its digits

C Programming Tutorial

Problem Statement: If a five-digit number is input through the keyboard, write a program to calculate the sum of its digits. Answer: /* Sum of digits of a 5 digit number*/ #include<stdio.h> #include<conio.h> main() { int num,a,n; int sum=0; /* this has been initialised to zero otherwise it will contain a garbage value */ clrscr(); … Read more

Write basic C program to calculate gross salary

C Programming Tutorial

Write a C Program for the following :- Ramesh’s basic salary is input through the keyboard. His dearness allowance is 40% of basic salary, and house rent allowance is 20% of basic salary. Write a program to calculate his gross salary. Answer:  /* To Calculate the gross salary of Ramesh */ #include<stdio.h> #include<conio.h> main() { … Read more

NoSQL: What is NoSQL-An introduction

nosql

A NoSQL (often interpreted as Not Only SQL) database provides a mechanism for storage and retrieval of data that is modeled in means other than the tabular relations used in relational databases. The original intention has been modern web-scale databases. The movement began early 2009 and is growing rapidly. Often more characteristics apply such as: schema-free, easy … Read more