Sir/Madam
I would be very glad if you answer the above written problem in C prog code.
11 6154 JosAH 11,448
Recognized Expert MVP
We're not a 'do your homework' service; do you know the definition of an Armstrong
number?
kind regards,
Jos
JosAH 11,448
Recognized Expert MVP
Base?
We charge $40/hr.
You're too cheap; I charge at least $100/hr but then again I deliver a neat report
including a nice little proof about the non existence of four or more digits Armstrong
numbers.
kind regards,
Jos ;-)
Banfa 9,065
Recognized Expert Moderator Expert
a nice little proof about the non existence of four or more digits Armstrong numbers.
Interesting in that case what is the difference between Armstrong numbers and narcissistic numbers since wiki gives the largest narcissistic number as
115,132,219,018 ,763,992,565,09 5,597,973,971,5 22,401
which clearly has more than 4 digits?
JosAH 11,448
Recognized Expert MVP
Interesting in that case what is the difference between Armstrong numbers and narcissistic numbers since wiki gives the largest narcissistic number as
115,132,219,018 ,763,992,565,09 5,597,973,971,5 22,401
which clearly has more than 4 digits?
Well, I didn't say it was a *correct* proof but a neat proof nevertheless ;-)
kind regards,
Jos (<--- puts brown paper bag over head ;-)
ps. I know that guy who came up with that beast, it's Dik T. Winter
Ok. here you are. - Code removed, even it it's bad code, per posting guidelines
-
RRII(result.ret .in.init.) C++ rapadigm (mocked from raii one for sure) is actively used rendering practical usefullness to zero though it can be used in research purposes.
You're charged $30. I'd like it in 10 and 20 bills, thank you.
Ok. here you are. - Code removed, even it it's bad code, per posting guidelines
-
And what exactly wrong was with this code, apart from 'indentation'?
JosAH 11,448
Recognized Expert MVP
And what exactly wrong was with this code, apart from 'indentation'?
I don't know, I never saw it but I think you were spoonfeeding the OP which is
not allowed here.
kind regards,
Jos
A program is not required.
They are: 001,153,370,371 and 407. QED
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: haynesc |
last post by:
Hi,
I'm having a problem where when trying to open a file in write mode, I
get an IOError stating no such file or directory. I'm calling an
external program which takes an input file and produces an output file
repeatedly, simulating the input file separately for each replicate.
The error occurs when trying to open the input file to write out the
new data. The problem is difficult to reproduce since it only shows up
once every few...
|
by: Josh Armstrong |
last post by:
I have a dropbox (cboReasons) in a form, when the user selects a
reason from the
dropbox the form needs to look in another table (lvsn_DefaultSettings)
and see if there is a entry for that reason DLookup("",
"lvsn_DefaultValues", Me.cboReasons). If it
finds one it needs to update some check boxes on the form.
for expample
User selects Reason = "Sales"
found record in lvsn_DefaultValues for "Sales"
|
by: Agnes |
last post by:
Can I write a file like config.ini which store the server-name, userid &
password,
So, my application can read the config.ini file and get the server - name,
Does my concept is correct ?
If yes, do any web site can provide the sample of such file or provide
tutorial ??
For my current stage, i got a class object and assign the server-name to a
property, even form will call this class object.
Please give some advice.
|
by: Seok Bee |
last post by:
Dear Experts,
I have created a script to extract the Event Logs from the system into an
excel sheet. The logs are separated into 2 worksheets (Application Log and
System Log). After this excel file being created, it will be sent out via
email to the list of recipients.
I run the script on my notebook (also developed on th same machine) it works
fine. However, when I copy all the programs into the server which running on
Windows 2000...
|
by: Petrakid |
last post by:
Hey, I have a task to complete. I am trying to figure out the best
way, in C++ to determine the following. There is this farm with pigs
and chickens. Only the legs of the pigs and chickens look exactly the
same, so for a short person to determine how many possible pigs and how
many possible chickens, all they can do is count the total legs of the
two.
- Chickens seem to always run around in groups of 3
- Pigs seem to always clump...
| |
by: ashu |
last post by:
an armstrong number of three digits is an integer such that the sum of
the cubes of its digits is equal to the number itself. for example,
171 is an armstrong number since 3**3+7**7+1**1=371.
i have try but not succed.kindly help me .
here is what i did :
int main()
{
int a,b,n,s=0;
printf("enter no");
|
by: susmitasp |
last post by:
Question:
24students registered to the class. Write C++ program to find how many students with age range of:
//- less than 25
//- 26-30
//- 31-40
//- 41 and above
Please try to help me to write the above program.I have written some lines of code for taking the input value from user for number of students. Is there any function available for storing the input values from user.
coulud anyone please send the solution for the above program.
|
by: pitamber kumar |
last post by:
Write a program to find the number of and sum of all intergers greater
than 100 & less than 200 that are divisible by 7.
|
by: Bill Cunningham |
last post by:
I don't think I can do this without some help or hints. Here is the code
I have.
#include <stdio.h>
#include <stdlib.h>
double input(double input) {
int count=0,div=0;
double mean=0,linput=0;
FILE *fpr, *fpw;
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |