Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

Search In

Program to count how many integers from 1 to N contains 0's as a digit

#include<bits/stdc++.h> using namespace std; int main() { int n,remainder,cnt=0,i,temp1; scanf("%d",&n); for(i=1;i<=n;i++) { temp1=i; while(temp1) { remainder=temp1%10; if(re

Configuring i18N Api in rails internationalization

Rails Internationalization : Configure the i18n Module As we all aware that whenever we use term web, it refers to globalization of application. For globalization, your application must support multi-language support. In ruby i18n provides the supp

Implementation of Singly Linklist in C

Singly Linklist:- Hii Friends, The Below code will show you how we can create singly Linklist in Data Structure using C. we can simply create the singly linklist using the pointers and malloc function to insert and delete element dynamically. #inclu

0/1 Knapsack Solution in Java

Hi, this blog is to help you to know about 0/1 knapsack problem and how to solve it using Java.   Problem Definition Suppose there is a thief who came to steal thing from someone's home. He has a knapsack(shoulder bag) with him

How to find browser details ?

Jquery have a nice feature to know about browser details. it is deprecated, If the functionality is removed, it will likely be easily accessible using a plugin.   It is safe to use it to determine whether or not to call $(document).ready(

Exception Handling in Rails using begin rescue

Exception Handling in Rails using begin rescue Exception is a condition, that occurs when something goes wrong in a code. Normally in that case the program gets terminated. In rails, an object containing the information of the error is an instance o

Array operations in ruby

In our regular programming life, we always come in to situation where we need to pick few elements from array, remove them or insert some elements into them. In ruby there are methods available for such operations. Some of them are: 1) Select: Sele

Structure in C

Structure is basically a user defined datatype which is a collection of heterogeneous elements. Each element of a structure is called a member. It works like a template in C++ and class in Java. It is used to store student information, employee

Program to count number of vowels and consonants in a string

Counting number of vowels,consonants and digits in a string: In this program we are counting how many vowels ,consonants and digits are in the string which will be entered by the user. After user inputs a string , string will be iterated from 0th i

Identifying the browser with the help of Javascript.

We can easily identify the name of the browser, with the help of "JS navigator".Here we have used the "window.navigator" object that contains information about the visitor's browser.We can write "window.navigator" object without the "window" prefix

1 8 156
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: