How To Use Instagram Through Window 8

Your Website Title
1: First To Fall You Will Go At start menu of Window
2:In Search Bar Search The Store
3:When Store Is Open Then Search The Instapic
4:Then You Can Install A Instapic This is Application Used for Instagram
5:After When Instapic Is Installed Then There Is A option Coming If you Have Hotmail Account Then Sign In Now Otherwise You Will Make A Account Where Written Is REGISTER WITH EMAIL
6:After Making A Account You Will Sign In
7:After Making An Account You Will Be Able To Login With Your Username And Passsword And Use Instagram

Square Shape Code





#include<iostream.h>
using namespace std;
int main()
{
     for(int i=1;i<=10;i++)
        {
            cout<<"*";
        }
            cout<<endl;
for(int j=1;j<=5;j++)
    {
    for(int k=1;k<=1;k++)
        {
                cout<<"*";
        }
        for(int l=1;l<=8;l++)
              {
                cout<<" ";
              }
                cout<<"*"<<endl;
       }
for(int m=1;m<=10;m++)
 {
 cout<<"*";

 }
 cout<<endl<<endl;
// return 0;
 system("pause");
}

Code Of This Shape . 1***** 12**** 123*** 1234** 12345* 123456








#include<iostream.h>

#include<conio.h>

int main()

{


   int b,c,d;

   for(int b=1; b<=6; b++)

   {

      for(int c=1,a=1; c<=b; c++)

      {

       cout<<a; a++;

      }

      for(int d=5; d>=b; d--)

      {

cout<<"*";

      }

cout<<endl<<endl;

   }

   getch();

}

Write a program in C++ to find the Factorial by recursive function.

Write a program to find the Factorial by recursive function. This function will use recursion to find factorial of a given number. You can also calculate factorial a number with non recursive method for. Click Here to get code of non recursive method to find factorial of a given number. 



#include<iostream.h>

using namespace std;

int recurs_funct(int num){
    static int i=1;// to make one number initialize
    cout<<i<<" : numbers"<<endl; // count the function calls

    if(num==1){
      return 1;//base
       }
   else{
        i++;
        return  num=num*recurs_funct(num-1);
        }
}

int main(){

    cout<<"Enter to number to find Factorial: ";
    int number;
    cin>>number;
    number=recurs_funct(number); // function call
    cout<<"\t\t\tFactorial of number is: "<<number;
    cout<<"\n\n\n\n";
    system("pause");



}

Write a program in c language to reverse a string in reverse order without using strrev function or any other function

#include <stdio.h>
#include <string.h>
#include <conio.h>

int main()
{
char str[100], ch, str2[100];
int count = 1, i, count2 = 0;

printf("Enter String: ");
while(ch != 13)
{
ch = getche();
str[count] = ch;
count++;
}
 
    for(i=0; i<=99; i++)
    {
str2[i] = str[i];
}

    for(i=count; i>=0; i--)
    {
str[count2] = str2[i];
count2++;
}

printf("\nRevered string is\n");

for(i = 0; i < count; i++)
{
printf("%c", str[i]);
}

   getch();
}

Write a program in c language to reverse a string by using strrev function or ptrint a string in reverse order

#include <stdio.h>
#include <string.h>
#include <conio.h>

int main()
{
   char str[100];

   printf("Enter a string to reverse: ");
   gets(sttr);

   strrev(str);  //function to reverse a string

   printf("Reverse of entered string is: %s\n", str);

   getch();
}

Write a program in c language to compare two strings by using pointers.

#include <stdio.h>
#include <conio.h>

int compare_strings(char*, char*);

int main()
{
    char str1[100], str2[100], result;

    printf("Enter first string: ");
    gets(str1);

    printf("Enter second string: ");
    gets(str2);

    result = compare_strings(str1, str2);

    if ( result == 0 )
       printf("Strings are same.\n");
    else
       printf("Entered strings are not equal.\n");

    getch();
}

int compare_strings(char *str1, char *str2)
{
   while(*str1==*str2)
   {
      if ( *str1 == '\0' || *str2 == '\0' )
         break;

      str1++;
      str2++;
   }
   if( *str1 == '\0' && *str2 == '\0' )
      return 0;
   else
      return 1;
}