answersLogoWhite

0


Best Answer

3. The digits are in alphabetical order in English.

User Avatar

Wiki User

13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What number comes next int he series 8 5 4 9 1 7 6?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Math & Arithmetic

Program to accept n number from user and dispay its next 10 odd number using function?

#include#includevoid main(){int n;void print(int n);clrscr();printf("Enter the number:");scanf("%d",&n);print(n);getch();}void print(int n){int i;for(i=1;i


C program to print prime numbers?

class primenoSeries { void main () { int i = 1; // Used to divide number and check if they are factors or not. int C = 0; // used as a counter for number of factors. int n = 1; // Represent the numbers. while (n > 0) { if ( n % i n ) { C = 0; n++ ; i = 1; }// Check next number since previous number had more than two factors. else { i++ ; } } else i++ ; } } }


To find greatest number among 10 numbers using loop?

#include<iostream.h> #include<conio.h> void main(){ int Number[10]; cout<<"Enter ten numbers"; for (int i=0;i<10;i++) cin>>Number[i]; int Big=0; for(int j=0;j<10;j++){ if (Big<Number[i]) Big=Number[i]; } cout<<"gretest Number:"<<Big; getch(); }


7 Write a C program to compute the factorial of a number using for loop?

int factorial(int n) { int i; int f=1; for(i=2;i<=n;++i) f*=i; return f; }


Write algorithm of a largest number and smallest number among three numbers?

public class FindLeastAndGreatest { public static void main(String[] args) { // number can't be equal with each other int a = 7; int b = 7; int c = 6; System.out.println(least(a,b,c)); System.out.println(greatest(a,b,c)); } public static int least(int a, int b, int c) { int least = 0; if(a < b && a < c) { least = a; } else if(b < a && b < c) { least = b; } else { least = c;} return least; } public static int greatest(int a, int b, int c) { int greatest = 0; if(a > b && a > c) { greatest = a; } else if(b > a && b > c) { greatest = b; } else { greatest = c;} return greatest; } }

Related questions

Prints the 1000th prime number?

// Print prime number series. class prime { void main () { int i = 1; int C = 0; int n = 1; int X = 0; while (X != 1000) { if ( n % i n ) { C = 0; n++ ; i = 0; } } i++ ; } } }


Algorithm of Fibonacci series in c?

#include<stdio.h> #include<conio.h> int fib(int a); main() { int a; clrscr(); scanf("%d",&a); for(int i=0;i<a;i++) printf("%d\n",fib(i)); } int fib(int a) { if(a==0) return 0; if(a==1) return 1; else return (fib(a-1)+fib(a-2)); }


How to you hold a random number for next deal in java?

Random numbers can be generated using the Math.random() function. For example, the following statements is used to create a random number 0 and 34. int random= (int)(Math.random()*34);


Write a program to display the even number series using for loop?

int maxNum = 1000; for(int i = 0; i <= maxNum; i += 2) { // Java solution System.out.println(i); // C solution printf("%d\n", i); }


Write a program to find the factorial number using function?

//C program to find the factorial of a given number using functions #include<stdio.h> #include<conio.h> int fact(int); void main() { int f,t; clrscr(); printf("\nEnter any number:"); scanf("%d",&f); t=fact(f); printf("1=%d",t); getch(); } int fact(int fa) { int i,fac=1,t; for(i=fa;i>=2;i--) { // TO print the series printf("%dx",i); fac=i*fac; } return fac; }


Write a java program to generate the Fibonacci Series using for loop?

class Fibonacci { public static void main(String args[]) { System.out.println("enter the number upto u want"); int number=Integer.parseInt(args[0]); int a=0,b=1,c=0; System.out.print(a+" "+b); for(int i=1;i<=number;i++) { c=a+b; System.out.print(c+" "); a=b; b=c; } } } the number are given to the run time where are print the series eg: 5 0 1 1 2 3 5 8 13................


How do you write C plus plus program to generate sum of the series up to n number?

pseudocode: int itotal = 0; int inum = 0; //* Use console routine to prompt and get the value of inum which would be //* the number to which the sum needs to be evaluated for (int i = 1; i < inum + 1; i++) { itotal = itotal + i; } //* Use console routine to display the value of itotal


What is the header file for round command?

Math.h doesn't containing the round function. Use the following, int round(double number) { return (number >= 0) ? (int)(number + 0.5) : (int)(number - 0.5); }


Program to accept n number from user and dispay its next 10 odd number using function?

#include#includevoid main(){int n;void print(int n);clrscr();printf("Enter the number:");scanf("%d",&n);print(n);getch();}void print(int n){int i;for(i=1;i


C program to print prime numbers?

class primenoSeries { void main () { int i = 1; // Used to divide number and check if they are factors or not. int C = 0; // used as a counter for number of factors. int n = 1; // Represent the numbers. while (n > 0) { if ( n % i n ) { C = 0; n++ ; i = 1; }// Check next number since previous number had more than two factors. else { i++ ; } } else i++ ; } } }


What is the pseudo code for a program that finds the product of two numbers?

int x; //first number int y; //second number int z = x*y;


In C programming Write a function that returns 1 if its argument is a prime number and returns zero otherwise?

#include<iostream.h> int CheckPrime(int number){ for(int i=2;i<number;i++){ if(number%i==0) return 0; } return 1; } void main() { int num=7; cout<<CheckPrime(num); }