Scrierea unui numar ca suma de termeni ai sirului Data 13/07/2019 Autor narcis iordanescu Categorie Soluții -10 428 Configurare noua (How To) Situatie Solutie int n,a,b,c; cin>>n; while(n>0) { a=0;b=1; while(a+b<=n) { c=a+b; a=b;b=c; } cout<<c<<” “; n=n-c; } Tip solutiePermanent Voteaza Up Down (16 din 42 persoane apreciaza acest articol) ShareTweetShare Despre Autor narcis iordanescu Solutii Asemanatoare Cum deschidem un RDP in full screen folosind Command Prompt in Windows 10 4 Cum deschidem fereastra Sound folosind Run in Windows 10 0 How to enter text with your voice on a Chromebook 9 Can’t Delete a Windows File or Folder? 2 Top 10 Linux Easter Eggs 2 How to fix – Reading a File: Permission Denied on Linux 4 Leave A Comment? × Cancel Reply Save my name, email, and website in this browser for the next time I comment. 7 − = 5
Leave A Comment?