Ads

Friday, May 29, 2020

Google Deleted 60 Lake Tic Tok Reviews

Google Deleted 60 Lake Tic Tok Reviews
Tic Tok
Google Deleted 60 Lake Tic Tok Reviews

A spasm tok video of Aamir Siddiqui has started a great deal of pressure among TickToker and YouTuber in India. 

Furthermore, from that point forward, erasing a mainstream YouTuber's slanting video (3.3 million perspectives per day) has gone under assault on the Tic tok application's audit in the Play Store, bringing about a short-term rating of 4.4 to 1.2. 

At the point when the issue went to the notification of Google, they expelled around 6 million negative surveys from the Play Store and took it back to its past state. 


For this, the new CEO is attempting to deal with the circumstance by expelling the head of Tiktok ||

Google Deleted 60 Lake Tic Tok Reviews
Old Reviews
Google Deleted 60 Lake Tic Tok Reviews
New Reviews


                                                      





Thursday, May 28, 2020

Write a C program to swap two numbers without using a temporary variable

Write a C program to swap two numbers without using a temporary variable.

C program to swap two numbers without using a temporary variable









 #include<stdio.h>
 int main()
{
    int num1=10,num2=20;
    num1=num1+num2;
    num2=num1-num2;
    num1=num1-num2;
    printf("After swap two numbers \n");
    printf("num1=%d , num2=%d ",num1,num2);
    return 0;

}

Write an appropriate control structure that will examine the value of a floating point variable called temp and print one of the following massages, depending on the value assigned to temp

c-programming-exercises-if-else-question

Write an appropriate control structure that will examine the value of a floating point variable called temp and print one of the following massages, depending on the value assigned to temp.
(a)  ICE, if the value of temp is less than 0,
(b) WATER, if the value of temp is less than 0,
(c)  STREAM, if the value of temp is less than 0,
Can a Switch statement be used in this instead?
Solution: 
A Switch cannot be used because:
  •       The test involves floating-point quantities rather than integer quantities.
  •        The test involves ranges of values rather than exact values.


     
c-programming-exercises-if-else-solution


#include<stdio.h>
int main()
{
    float temp;
    printf("Enter a Temparature: ");
    scanf("%f",&temp);
    if(temp<0)
        printf("ICE");
    else if(temp>=0 && temp<=100)
        printf("WATER");
    else if(temp>100)
        printf("STREAM");

}











Write a switch statement that will examine the value of a char-type variable called color and print one of the following massages, depending on the character assigned to color.

c programming exercise-switch-case
Write a switch statement that will examine the value of a char-type variable called color and print one of the following massages, depending on the character assigned to color.
(     a)  RED, if either r or R is assigned to color,
(     b) GREEN, if either g or G is assigned to color,
(     c)  BLUE, if either b or B is assigned to color,
(     d) BLACK, if color is assigned any other character.

  Solution:

c programming exercise-switch-case


#include<stdio.h>
int main()
{
    char color;
    printf("Enter a character ");
    scanf("%c",&color);
    switch(color)
    {
    case 'r':
    case 'R':
        printf("RED");
        break;
    case 'g':
    case 'G':
        printf("GREEN");
        break;
    case 'b':
    case 'B':
        printf("BLUE");
        break;
   default:
        printf("BLACK");
        break;
    }
    return 0;
}





Tuesday, May 26, 2020

How to delete Facebook page


On the off chance that you need to

erase a Page you've made, here's

the way:

1.Go to your Page, and snap

"Settings."

2.From the General Tabs inside

Settings, look to base and snap

"Evacuate Page."

3.Click "Erase [Page Name]" at

that point click "alright."

4And that is it! It's essential to

note Facebook takes as long as

fourteen days to erase your Page.

Tuesday, May 12, 2020

Facebook Beta New Version Easy, Faster

Facebook  Beta  New Version  Easy, Faster and People user. Opting in to the new design give users access to the new dark mode.The view option is designed to do minimize the screen’s brightness and glare for nighttime scrolling. Facebook is first rolling the design as an opt-in feature , which means you can try it out early and go back to the classic design.To turn on the new design

In dark Theme Mode Function Here

 In classic Mode  Function Here


Also gift from face book new emoji

Care Emoji

Monday, May 11, 2020

undefined reference to gotoxy in C | how to write any c program in middle ?

undefined reference to gotoxy in C  |  how to write any c program in middle  ?


undefined reference to gotoxy in C



Hello Friends you have some time face this problem because Code blocks GUI doesn't work gotoxy() function. so you make function for it.
 here

    
    #include<stdio.h>
    #include<windows.h>

    void gotoxy(int a, int b)    
    {
        COORD c;

        c.X=a;        
        c.Y=b;

        SetConsoleCursorPosition(GetStdHandle(STD_OUTPUT_HANDLE), c);    
    }

    int main()
    {    
        gotoxy(10, 25);
        printf("hello");
        getch();
    }





URI Online Judge 1010 Simple Calculate Solution

URI Online Judge | 1010
Simple Calculate
Adapted by Neilor Tonin, URI  Brazil

Timelimit: 1


Problem Description:

Problem Number:1010
Problem Name: Simple Calculate
Author’s Name:Neilor Tonin, URI  Brazil
Timelimit: 1
Problem Category: BEGINNER.
Problem Source: https://www.urionlinejudge.com.br/judge/en/problems/view/1010
Solution in C


#include <stdio.h>
int main()
{
    int a,b,c,d;
    double e,f,g;
    scanf ("%d %d %lf", &a,&b,&e);
    scanf ("%d %d %lf", &c,&d,&f);
    g=(b*e)+(d*f);
    printf ("VALOR A PAGAR: R$ %.2lf\n",g);
    return 0;
}

URI Online Judge 1009 Salary with Bonus Solution

URI Online Judge | 1009
Salary with Bonus
Adapted by Neilor Tonin, URI  Brazil

Timelimit: 1


Problem Description:

Problem Number:1009
Problem Name: Salary with Bonus
Author’s Name:Neilor Tonin, URI  Brazil
Timelimit: 1
Problem Category: BEGINNER.
Problem Source: https://www.urionlinejudge.com.br/judge/en/problems/view/1009
Solution in C


#include <stdio.h>
int main()
{
    char M[100];
    scanf ("%s", M);
    double x,y,z;
    scanf("%lf %lf", &x,&y);
    z=x+(y*15)/100;
    printf ("TOTAL = R$ %.2lf\n",z);
    return 0;
}




URI Online Judge 1008 Salary Solution

URI Online Judge | 1008
Salary
Adapted by Neilor Tonin, URI  Brazil

Timelimit: 1


Problem Description:

Problem Number:1008
Problem Name: Salary
Author’s Name:Neilor Tonin, URI  Brazil
Timelimit: 1
Problem Category: BEGINNER.
Problem Source: https://www.urionlinejudge.com.br/judge/en/problems/view/1008
Solution in C


#include<stdio.h>
int main()
{
    int n,d;

    float h;

    double a;

    scanf("%d %d %f",&n,&d,&h);

    a=d*h;

    printf("NUMBER = %d\n",n);

    printf("SALARY = U$ %0.2lf\n",a);

    return 0;
}

Saturday, May 9, 2020

URI Online Judge 1007 Difference Solution

URI Online Judge | 1007
Difference
Adapted by Neilor Tonin, URI  Brazil

Timelimit: 1


Problem Description:

Problem Number:1007
Problem Name: Difference
Author’s Name:Neilor Tonin, URI  Brazil
Timelimit: 1
Problem Category: BEGINNER.
Problem Source: https://www.urionlinejudge.com.br/judge/en/problems/view/1007
Solution in C
Read on-> কম্পিউটারে মাইক্রোফোন কাজ না করলে কি করবেন -Windows 7

#include <stdio.h>
int main()
{
    int A,B,C,D,DIFERENCA;
    scanf ("%d %d %d %d", &A,&B,&C,&D);
    DIFERENCA=(A*B)-(C*D);
    printf("DIFERENCA = %d\n", DIFERENCA);
    return 0;
}





URI Online Judge 1006 Average 2 Solution

URI Online Judge | 1006
Average 2
Adapted by Neilor Tonin, URI  Brazil
Timelimit: 1


Problem Description:

Problem Number:1006
Problem Name: Average 2
Author’s Name:Adapted by Neilor Tonin, URI  Brazil
Timelimit: 1
Problem Category: BEGINNER.
Problem Source: https://www.urionlinejudge.com.br/judge/en/problems/view/1006
Solution in C


#include <stdio.h>
int main()
{
    double A,B,C, MEDIA;
    scanf ("%lf %lf %lf", &A, &B, &C);
    MEDIA= ((A*2)+(B*3)+(C*5))/10;
    printf ("MEDIA = %.1lf\n", MEDIA);
    return 0;
}






URI Online Judge 1005 Average 1 Solution in C

URI Online Judge | 1005
Average 1
Adapted by Neilor Tonin, URI  Brazil
Timelimit: 1


Problem Description:

Problem Number:1005
Problem Name: Average 1
Author’s Name:Adapted by Neilor Tonin, URI  Brazil
Timelimit: 1
Problem Category: BEGINNER.
Problem Source: https://www.urionlinejudge.com.br/judge/en/problems/view/1005
Solution in C


#include <stdio.h>
int main()
{  
   double A,B, MEDIA;
   scanf ("%lf %lf", &A, &B);
   MEDIA= ((A*3.5)+(B*7.5))/11;
   printf ("MEDIA = %.5lf\n", MEDIA);  
   return 0;
}







URI Online Judge 1004 Simple Product Solution

URI Online Judge | 1004
Simple Product
Adapted by Neilor Tonin, URI  Brazil

Timelimit: 1


Problem Description:

Problem Number:1004
Problem Name: Simple Product
Author’s Name:Adapted by Neilor Tonin, URI  Brazil
Timelimit: 1
Problem Category: BEGINNER.
Problem Source: https://www.urionlinejudge.com.br/judge/en/problems/view/1004
Solution in C


#include <stdio.h>
int main()
{
   int A,B;
   scanf ("%d %d", &A, &B);
   printf("PROD = %d\n",A*B);  
   return 0;
}





URI Online Judge 1003 Simple Sum Solution

URI Online Judge | 1003
Simple Sum
Adapted by Neilor Tonin, URI  Brazil
Timelimit: 1

Problem Description:

Problem Number:1003
Problem Name: Simple Sum
Author’s Name:Adapted by Neilor Tonin, URI  Brazil
Timelimit: 1
Problem Category: BEGINNER.
Problem Source:https://www.urionlinejudge.com.br/judge/en/problems/view/1003

Solution in C

#include <stdio.h>
int main()
{
    int A, B, Sum;
    scanf("%d %d", &A, &B);
    Sum = A + B;
    printf("SOMA = %d\n", Sum);
    return 0;
}







URI Online Judge 1002 Area of a Circle Solution

URI Online Judge | 1002 
Area of a Circle 
Adapted by Neilor Tonin, URI  Brazil 
Timelimit: 1


Problem Description:

Problem Number:1002
Problem Name: Area of a Circle
Author’s Name:Adapted by Neilor Tonin, URI  Brazil
Timelimit: 1
Problem Category: BEGINNER.
Problem Source: https://www.urionlinejudge.com.br/judge/en/problems/view/1002
Solution in C


#include <stdio.h>
int main()
{
    double pi=3.14159,R,A;
    scanf("%lf",&R);
    A=pi*R*R;
    printf("A=%.4lf\n",A);
    return 0;
}






URI Online Judge 1001 Extremely Basic solution

URI Online Judge | 1001 
Extremely Basic Adapted by Neilor Tonin, URI  Brazil 
Timelimit: 1

Problem Description: 

Problem Number:1001
Problem Name: Extremely Basic
Author’s Name:Adapted by Neilor Tonin, URI  Brazil 
Timelimit: 1
Problem Category: BEGINNER. 




#include<stdio.h>
int main() 
int A,B,X; 
scanf ("%d %d", &A, &B); 
X=A+B; 
printf("X = %d\n",X); 
return 0; 
}



Friday, May 8, 2020

URI Online Judge 2172 Event


URI Online Judge | 2172
 Event 
By Nivaldo Carvalho, UNIPE BR Brazil 
Timelimit: 2



Problem Description: 

Problem Number:2172
Problem Name: Event 
Author’s Name:Nivaldo Carvalho, UNIPE BR Brazil
Timelimit: 2 
Problem Category: BEGINNER. 



#include <stdio.h>
int main()
         {   
            long long int x, m;   

            while(1)   
                    {        
                    scanf("%lld%lld", &x, &m);        
                    if(x==0 && m==0)            
                                break;        
                    printf("%lld\n", x*m);   
                      }    
                     return 0;
          }





URI Online Judge 1589 Bob Conduit solution

URI Online Judge | 1589 Bob Conduit 
By Bruno Adami, Universidade de São Paulo - São Carlos BR Brazil
 Timelimit: 1

Problem Description: 
Problem Number:1589 
Problem Name: Bob Conduit 
Author’s Name: Bruno Adami, Universidade de São Paulo - São Carlos BR Brazil
Timelimit: 1 
Problem Category: BEGINNER. 

#include <stdio.h>
int main()
{
    int T, R1, R2, x, y;
    scanf("%d", &T);
    for(x=1; x<=T; x++)
    {
        scanf("%d%d", &R1, &R2);
        y=R1+R2;
        printf("%d\n",y);
    }
    return 0;
}





URI Online Judge 1144 Logical Sequence solution


URI Online Judge | 1144 Logical Sequence
Adapted by Neilor Tonin, URI  Brazil  Timelimit:1

Problem Description: 
Problem Number:1144
Problem Name: Logical Sequence 
Author’s Name: Adapted by Neilor Tonin, URI Brazil Timelimit: 1 
Problem Category: BEGINNER.


#include <stdio.h>
int main()
{
    int a,b,c,d,e,f;
    scanf("%d", &a);
    for(b=1; b<=a; b++)
    {
        c=b*b;
        d=b*b*b;
        printf("%d %d %d\n",b,c,d);
        e=c+1;
        f=d+1;
        printf("%d %d %d\n",b,e,f);
    }
    return 0;
}






Thursday, May 7, 2020

Photo












































C Programing Language: printf() function & scanf() function

 printf() function 

The printf() function:The printf() function is used for all output process. It prints the given statement to the console. The syntax of printf () function is that: 

printf("format string",argument_list);


 The format string can be %d (integer), %c (character), %f (float),%lf (double),%s (string) etc.



scanf() function 
The scanf() function:The scanf() function is used for input. It reads the input data from the console. 

scanf("format string",argument_list); 

Program to print cube of given number 
Let's see a simple example of c language that gets input from the user and prints the cube of the given number. 

#include<stdio.h> 
int main()

int number; 
printf("enter a num:"); 
scanf("%d",&num); 
printf("cube of number is:%d ",number*number*number); 
return 0; 
}

Output 
enter a num:5 
cube of number is:125 

The scanf("%d",&number) statement reads integer number from the console and stores the given value in number variable. 

The printf("cube of number is:%d ",number*number*number) statement prints the cube of number on the console. 

Program to print sum of 2 numbers

 Let's see a simple example of input and output in C language that prints addition of 2 numbers. 

#include<stdio.h> 
int main()

int x=0,y=0,result=0; 
printf("first number:"); 
scanf("%d",&x); 
printf("second number:"); 
scanf("%d",&y); 
result=x+y; 
printf("sum of 2 numbers:%d ",result); 
return 0; 


Output 
first number:9 
second number:9 
sum of 2 numbers:18

Monday, May 4, 2020

C Programming Language: Compilation process

C  Language Compilation process
                                                     
                                                                                     


Source Code Convert in Machine Language

lets go see how its convert in diagram:




C Programing Language: First C Program

First C Program


Firstly open Code Blocks then go to File---> New---->Ctrl+s

To write the first c program :

#include <stdio.h>
int main()
{
   printf("Hello, World!");

   return 0;
}

  •  #include <stdio.h> means by the standard input output of library functions. The printf() function is in stdio.h
  • int main(): The main() function is the entry point of every program run execution in c language. 
  • printf(): The printf() function for print data on the program. 
  • The 0 value for successful execution and 1 value for unsuccessful execution.
Then Clik in keyboard F9 Button or build and run.


For more visit https://programmingknowledgesite.blogspot.com/2020/05/c-language.html

Sunday, May 3, 2020

C programming language : History of C Language

                                                             History of C Language


in 1972  C programming language was developed by Dennis Richie .

Dennis Richie is known as the grand father of the c language.
 
Developed before C language




Saturday, May 2, 2020

C Programing Language: C Keywords and Identifiers

C Keywords and Identifiers



Character set



Special Characters


C Keywords : 32 keywords


Identifiers/variables:

In C language identifiers is variables, functions and user data. its you can write what you want  but it has some rule, you will be care:

1.An variable or identifiers can only this characters :-a-z , A-Z , 0-9, and underscore
2.The first character must be a-z , A-Z and underscore 
3. Identifiers also sensitive.
4. Keywords are not allowed.
5. Semicolon, period, white spaces, slash or comma are permitted to be used.


 Integers
                    An integer is a numbers 
 ex: int a=10;
 specifiers %d

Floating
                   point Literals
 ex: float a=10.34;
specifiers %f

Characters
ex: char ch='a';
specifiers %c

Double 
                 point Literals
ex: double a=23.23232223232;
specifiers %lf

                                         Escape Sequences





  









Friday, May 1, 2020

URI Online Judge 1099 Sum of Consecutive Odd Numbers II solution


URI Online Judge qus no1099 Sum of Consecutive Odd Numbers II solution


#include <stdio.h>
int main()
{
    int N,X,Y,A,b,c=0;
    scanf("%d", &N);
    for(A=1;A<=N;A++)
    {
        scanf("%d%d",&X,&Y);
        if(X==Y)
        {
            c=0;
            printf("%d\n",c);
        }
        else if(X<Y)
        {
            for(b=X+1,c=0;b<Y;b++)
            {
                if(b%2==1||b%2==-1)
                    c+=b;
            }
            printf("%d\n",c);
        }
        else
        {
            for(b=Y+1,c=0;b<X;b++)
            {
                if(b%2==1||b%2==-1)
                    c+=b;
            }
            printf("%d\n",c);
        }
    }
    return 0;
}