Skip to content

Commit 432cf08

Browse files
authoredFeb 3, 2025
Update armstrong.cpp
1 parent 21a3180 commit 432cf08

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed
 

‎armstrong.cpp

+1-3
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,9 @@ int main(){
1010
rem=temp%10;
1111
sum=sum+(rem*rem*rem);
1212
temp=temp/10;
13-
1413
}
1514
if(num==sum){
16-
cout<<"number is armstrong ";
17-
15+
cout<<"number is armstrong ";
1816
}
1917
else
2018
{

0 commit comments

Comments
 (0)