Jump to content

Search the Community

Showing results for tags 'cifre impare'.

More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • Keyplex General
    • Anunţuri și Noutăţi
    • Artă și Fotografie
    • Discuţii
    • Prezentări
    • Aplicatii
    • Ajutor
  • Keyplex Gaming
    • Fortnite
    • League of Legends
    • Warframe
    • CS:GO
    • Rust
    • Tom Clancy's Ghost Recon Wildlands
    • Ajutor
  • Keyplex Info
    • Probleme Rezolvate
    • Întrebări Informatică
  • Keyplex Content Creator
    • Andrei Sym
  • ad litteram's Sorin cauta prietena


There are no results to display.

There are no results to display.

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start



About Me

In Game Name


Joc Preferat


Found 1 result

  1. 1. Cerinta: Se dă un număr n de la tastatură. Sa se afiseze cel mai mare numar format din cifre impare - Exemplu: n=3 24 11 27 Maximul este=27 2. Rezolvare: #include <iostream> using namespace std; int main() { int n,nr,max1,x,i,ok,c,y; cin>>n; cout<<"n="; max1=-1; for(i=1;i<=n;i++) { cin>>x; ok=1; y=x; while(y!=0) { c=y%10; y=y/10; } if(ok==1) if(x>max1) max1=x; } if(max1==-1) cout<<"nu am citit nr. cu cifre impare"; else cout<<"Maximul este="<<max1; return 0; }
  • Create New...

Important Information

This site uses cookies. By continuing browsing, you agree to the use of this information. For more details, see Terms of Use and Privacy Policy.