Scrierea unui numar ca suma de termeni ai sirului Data 13/07/2019 Autor narcis iordanescu Categorie Soluții -3 381 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 (14 din 31 persoane apreciaza acest articol) ShareTweetShare Despre Autor narcis iordanescu Solutii Asemanatoare How to merge Audio Files on Windows 11 -1 Can Google Wallet Work without Wi-Fi or Mobile Data? 1 How to use Google Wallet to store Event Tickets and boarding passes 1 How to merge folders in Windows? 0 How to upgrade PowerShell in Windows 2 Modificarea dimensiunii Pagefile pe Windows Server -1 Leave A Comment? × Cancel Reply Save my name, email, and website in this browser for the next time I comment. − two = 5
Leave A Comment?