Thursday, 31 August 2017

Number Pattern - 39

1234
2341
3421
4321



#include<stdio.h>

 
int main()
{
  int i,j,k;
  for(i=1;i<=4;i++)
  {
    k = i-1;
    for(j=i;j<i+4;j++)
    {
      if(j<=4)
      {
        printf("%d",j);
      }
      else
      {
        printf("%d",k--);
      }
    }
    printf("\n");
  }
  return 0;
}

Zoho Interview Questions


                              4444444 
                              4333334 
                              4322234 
                              4321234 
                              4322234 
                              4333334 
                              4444444
                          000000000
                          010000010 
                          012000210
                          012303210 
                          012343210
                          012303210 
                          012000210 
                          010000010 
                          000000000   
 Practice Yourself  Complex Coding Asked in Zoho
    • Hospital Management System
    • Student Database Management System
    • Railway Reservation System
    • Contact Management System
    • Library Management System
    • Snake Game
    • Call Taxi Booking System
    Zoho Puzzle Questions With Answers

        Data Structures


         

        C-Program to know whether the character is vowel or not

        #include<stdio.h> int main() {   char c;   printf("Enter a character to know whether it is vowel or not\n");   scanf("...