Rezolvari Informatica 2009 - Www.rezolvari.net

  • April 2020
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Rezolvari Informatica 2009 - Www.rezolvari.net as PDF for free.

More details

  • Words: 89
  • Pages: 1
REZOLVARI INFORMATICA 2009 ALTE MODELE EXCELENTE DE REZOLVARE LA www.rezolvari.net Subiectul II Varianta 46 Nr. Item

Raspuns / Rezolvare

Explicatii

1

b

2

a

3

1,2,3,4,5,9

Nodurile care nu apar in vectorul de tati

4

a) un element b) 8

In stiva ramane doar 8

5

#include #include<string.h> char s[256],voc[]="aeiou"; void main(){ cin.get(s,256); for(int i=0;i<strlen(s);i++) if(strchr(voc,s[i])!=0) s[i]=s[i]+1;/*se face automat conversia din char in int, se aduna codul ASCII cu 1 si se converteste implicit inapoi la char*/ cout<<s;}

REZOLVARI INFORMATICA 2009 ALTE MODELE EXCELENTE DE REZOLVARE LA www.rezolvari.net www.subiecte.info

Related Documents