Group Study

Saturday, 30 March 2019

print the number which existence

#include<stdio.h>
main()
{
int i,n,number[5];
for(i=0;i<5;i++)
scanf("%d",&number[i]);
for(i=0;i<5;i++)
{
if(n==number[i])
printf("%d",number[i]);
}
}

Posted by Group Study at 23:32
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

About Me

Group Study
View my complete profile

Blog Archive

  • ►  2021 (10)
    • ►  February (10)
  • ▼  2019 (45)
    • ►  October (1)
    • ►  August (3)
    • ►  July (4)
    • ►  April (3)
    • ▼  March (23)
      • print the number which existence
      • arry2
      • arry1
      • print even number by arry
      • Write a C program to read weekday number and print...
      • * * * * * *
      • 1 2 2 3 3 3
      • 1 1 2 1 2 3
      • Factorial
      • LCM of twonumbers
      • GCD of two numbers
      • Fibonacci Series
      • sum of the series 1^3+2^3+3^3+-----+n^3
      • sum of the series 1^2+2^2+3^2+----+n^2
      • sum of the series 1+2+3+-----+n
      • prime number
      • Number of digits
      • sum of digits
      • write a program using switch and if statements to ...
      • sqrt of any number from 0 to 9.9
      • eligible for the admission
      • A set of two linear eqn and find x1 and x2.
      • the programe evaluates the sqrt for 5 number using...
    • ►  February (11)
Theme images by RBFried. Powered by Blogger.