13th Mar 2021, 4:06 AM
Ankit Kumar
Ankit Kumar - avatar
40 Antworten
+ 7
Ankit Kumar You are getting no output because you are doing j-- I will suggest make a function which will return factorial. https://code.sololearn.com/cYe2ynikLISV/?ref=app
13th Mar 2021, 4:58 AM
A͢J
A͢J - avatar
+ 7
Daniel Briceño I will suggest don't try to convert in Hindi. 😃😃
13th Mar 2021, 5:01 AM
A͢J
A͢J - avatar
+ 5
Yeah 😅 your code is okay but concept of the recuive function Is declaration definition and call Include<stdio.h> /*Declaration*/ def/* var*/ def/* var*/ int main() { /*Your code goes here*/ /* You can call your function here*/ } Var 1 and var2 { /*Here you can definition of function*/ Return to var 3} If you want to not use return statement you can use void function.
14th Mar 2021, 9:48 AM
gajanand dave
+ 4
Ankit Kumar In C, C++, Java, entry point is main method/function so you have to write code inside main function.. int main() { /* code "/ return 0; } 2nd thing don't use i for factorial as variable "i" used for, for loop iteration so if you divide i by 10 then i will be 0 and next iteration will not work. So use other variable.
13th Mar 2021, 4:30 AM
A͢J
A͢J - avatar
+ 3
Bhai bhut sochne ke bad mera code shi ho gya https://code.sololearn.com/c2Z06DjrXfHb/?ref=app
13th Mar 2021, 9:59 AM
Ankit Kumar
Ankit Kumar - avatar
+ 3
Ye strong number nhi hai
14th Mar 2021, 11:26 AM
Ankit Kumar
Ankit Kumar - avatar
+ 3
Strong numbers are those numbers whose sum of factorial of each digits is equal to the original number. Strong Number Examples, 1 is strong number because 1!= 1, 2 is strong number i.e. 2! = 2, 145 is strong number i.e. 1!
14th Mar 2021, 11:32 AM
Ankit Kumar
Ankit Kumar - avatar
+ 2
no entiendo. / I dont not understand./मुझे समझ नहीं आता I Am AJ !
13th Mar 2021, 5:04 AM
Daniel Briceño
Daniel Briceño - avatar
+ 2
Please explain the clear purpose of this code . And what do you mean by strong number
14th Mar 2021, 8:59 AM
Aditya Partap Singh
Aditya Partap Singh  - avatar
+ 1
Phir bhi kuch nhi ho rha hai
13th Mar 2021, 4:34 AM
Ankit Kumar
Ankit Kumar - avatar
+ 1
Why do not work this code
13th Mar 2021, 4:54 AM
Ankit Kumar
Ankit Kumar - avatar
+ 1
In this code no output
13th Mar 2021, 4:54 AM
Ankit Kumar
Ankit Kumar - avatar
+ 1
I am aj j me remainder ko assign karaye hai uske bad to j ko decrement kara sakte hai
13th Mar 2021, 5:08 AM
Ankit Kumar
Ankit Kumar - avatar
+ 1
Ankit Kumar Yes sahi ho gaya but abhi bhi wrong hai. 145 is also a Strong number because 1! + 4! + 5! = 1 + 24 + 120 = 145 Just enter 146 and see your outout.
13th Mar 2021, 6:02 PM
A͢J
A͢J - avatar
+ 1
We are getting error at i value, some values are repeating.
14th Mar 2021, 5:23 AM
Shashank Reddy Voorelli
Shashank Reddy Voorelli - avatar
+ 1
Error is an small mistake in code
14th Mar 2021, 5:46 AM
Coder 0.5
Coder 0.5 - avatar
+ 1
145=1!+4!+5! Ye strong number hai
14th Mar 2021, 11:27 AM
Ankit Kumar
Ankit Kumar - avatar
+ 1
Error means Suppose you are talking with me Ankit said : My name is Ankit. Noor said : Nice to meet you. But in this sentence Ankit said : My Ankit is name. Noor said : I don't understand Here you are not using proper word so i can't understand as well as in coding if you don't use proper code ,computer can't understand what you are talking about so It generate an error
15th Mar 2021, 4:57 AM
NOOR
NOOR - avatar
0
1-has no main function.
13th Mar 2021, 4:13 AM
Daniel Briceño
Daniel Briceño - avatar
0
Ankit Kumar यह "int main () {" है और "int main ()" नहीं है "ध्यान दें कि पहला" {"है और दूसरा नहीं। जिसका मतलब है कि आप कभी भी शो शुरू नहीं करेंगे . I Am AJ ! es idioma "Hindi".
13th Mar 2021, 4:37 AM
Daniel Briceño
Daniel Briceño - avatar