answersLogoWhite

0


Best Answer

how to write a program that counts automorphic number from 1 to 999

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: A program c plus plus on automorphic numbers or not?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How do you write a C plus plus program that will display the first 10 positive prime numbers?

By learning how to program on C+.


How do you write a Program in java to cheak a number is automorphic number?

Source Code :: import java.io.*; class automorphic { protected static void main()throws IOException { BufferedReader in=new BufferedReader(new InputStreamReader(System.in)); System.out.print("Enter the number: "); int a=Integer.parseInt(in.readLine()),b=a,c=0,e=a*a; while(b>0) { c++; b/=10; } double d=Math.pow(10,c-1); if(a==e%d) System.out.println("Automorphic number!!"); else System.out.println("Not an Automorphic number!!"); }}


C program to print numbers 1 to n?

how do we use loops in c plus plus programing and what are basic differences between do,for and while loop


Can you program games with c plus plus?

Yes, you can program games with C++.


Write a c plus plus program to find the largest among three numbers using ternary operators?

R = (A > B && A > C) ? A : (B > C) ? B : C; // parentheses not necessary - for clarity only


C plus plus program calculate the power value of input base and exponent numbers?

cn = c0 *( 1 + i ) pow n


How to restart c plus plus program?

Exit the program and relaunch it.


Create a c plus plus program that displays odd numbers between 15 and 30?

for (int i = 15; i < 30; i += 2) cout << i << endl;


Lint is a compiler b a interactive debugger c a cinterpreter d a tool for analysing c plus plus program?

d a tool for analysing c plus plus program


Write a program in c plus plus for finding the sum of first 10 even numbers?

int i, sum = 0; for (i=0; i<20; i+=2) sum+=i;


Where did C plus plus program come from?

C++ is an extension of C, and was invented by Bjarne Stroustrup.


What is the only function all C plus plus programs must contain?

Every C plus plus program that is a main program must have the function 'main'.